From ab8069ad74776e610523d39390135c8883361961 Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Tue, 15 Jun 2021 10:10:28 +0800 Subject: [PATCH] cleanup delete_user() language => lang --- include/cleanup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cleanup.php b/include/cleanup.php index af55e8af..769481d6 100644 --- a/include/cleanup.php +++ b/include/cleanup.php @@ -197,7 +197,7 @@ function ban_user_with_leech_warning_expired() function delete_user(\Illuminate\Database\Eloquent\Builder $query, $reasonKey) { - $results = $query->where('enabled', \App\Models\User::ENABLED_YES)->get(['id', 'username', 'modcomment', 'language']); + $results = $query->where('enabled', \App\Models\User::ENABLED_YES)->get(['id', 'username', 'modcomment', 'lang']); if ($results->isEmpty()) { return []; }