mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries. git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -32,7 +32,7 @@ $upgrade_description = 'Remove adviser status.';
|
||||
$query = "
|
||||
UPDATE ".USER_INFOS_TABLE."
|
||||
SET status = 'normal'
|
||||
WHERE (status = 'webmaster' OR status = 'admin')
|
||||
WHERE status IN ('webmaster', 'admin')
|
||||
AND adviser = 'true'
|
||||
;";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user