using LIKE "%sysop%" to allow listing of sysops with other rights.
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 14 Jun 2004 11:44:38 +0000 (11:44 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 14 Jun 2004 11:44:38 +0000 (11:44 +0000)
includes/SpecialListadmins.php

index 39ad800..6e67fc8 100644 (file)
@@ -19,7 +19,7 @@ class ListAdminsPage extends PageQueryPage {
                return 'SELECT user_rights as type,'.$userspace.' as namespace,'.
                       'user_name as title, user_name as value '.
                       "FROM $usertable ".
-                          'WHERE user_rights = "sysop"';
+                          'WHERE user_rights LIKE "%sysop%"';
        }
 }