r4075 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4074‎ | r4075 | r4076 >
Date:11:44, 14 June 2004
Author:hashar
Status:old
Tags:
Comment:
using LIKE "%sysop%" to allow listing of sysops with other rights.
Modified paths:
  • /trunk/phase3/includes/SpecialListadmins.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialListadmins.php
@@ -19,7 +19,7 @@
2020 return 'SELECT user_rights as type,'.$userspace.' as namespace,'.
2121 'user_name as title, user_name as value '.
2222 "FROM $usertable ".
23 - 'WHERE user_rights = "sysop"';
 23+ 'WHERE user_rights LIKE "%sysop%"';
2424 }
2525 }
2626

Status & tagging log