aboutsummaryrefslogtreecommitdiffstats
path: root/install/db
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-12-14 14:36:20 +0000
committerpatdenice <patdenice@piwigo.org>2010-12-14 14:36:20 +0000
commite97974a42e64ee43d95cef258d65d9b022929dbe (patch)
tree00cef9ee9212ae653a8e266a2db51ad3dbe6c39b /install/db
parent21fe811c3b773af20a9e9d9932274cae16111cb1 (diff)
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
Diffstat (limited to 'install/db')
-rw-r--r--install/db/91-database.php2
1 files changed, 1 insertions, 1 deletions
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'
;";