From e97974a42e64ee43d95cef258d65d9b022929dbe Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 14 Dec 2010 14:36:20 +0000 Subject: 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 --- install/db/91-database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/db/91-database.php') diff --git a/install/db/91-database.php b/install/db/91-database.php index 871db559e..1f551c517 100644 --- a/install/db/91-database.php +++ b/install/db/91-database.php @@ -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' ;"; -- cgit v1.2.3