diff --git a/app/Models/Ban.php b/app/Models/Ban.php index bd7be1a726..e8741c320c 100644 --- a/app/Models/Ban.php +++ b/app/Models/Ban.php @@ -13,7 +13,6 @@ namespace App\Models; -use App\Traits\Auditable; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; @@ -31,7 +30,6 @@ */ class Ban extends Model { - use Auditable; use HasFactory; /** diff --git a/config/audit.php b/config/audit.php index 33d7f7f4e3..5e63cff879 100644 --- a/config/audit.php +++ b/config/audit.php @@ -22,26 +22,26 @@ */ 'global_discards' => [ - 'password', - 'passkey', - 'rsskey', + 'created_at', + 'deleted_at', + 'first_post_user_id', 'ip', - 'remember_token', - 'views', + 'last_action', + 'last_post_created_at', + 'last_post_id', + 'last_post_user_id', + 'last_topic_id', + 'nfo', 'num_post', 'num_topic', + 'num_torrent', + 'passkey', + 'password', 'read', - 'nfo', - 'last_post_id', - 'last_topic_id', - 'first_post_user_id', - 'last_post_id', - 'last_post_user_id', - 'last_post_created_at', - 'last_action', - 'created_at', + 'remember_token', + 'rsskey', 'updated_at', - 'deleted_at', + 'views', ], /*