aboutsummaryrefslogtreecommitdiffstats
path: root/includes/User.php
diff options
context:
space:
mode:
authorTim Starling <tstarling@users.mediawiki.org>2005-05-01 18:24:20 +0000
committerTim Starling <tstarling@users.mediawiki.org>2005-05-01 18:24:20 +0000
commitf98c133919920e5fa2ce48efc64a6d4930521e3a (patch)
tree99f1e59312f3d9380bf7c1b344b84cacba1ae371 /includes/User.php
parent82ed5e1d9cf127a34689f46491908c59892e3a72 (diff)
downloadmediawikicore-f98c133919920e5fa2ce48efc64a6d4930521e3a.tar.gz
mediawikicore-f98c133919920e5fa2ce48efc64a6d4930521e3a.zip
Major changes to user groups:
* Added "static groups" feature to remove memcached/DB load time * Added i18n support, allowing names and descriptions to be optionally drawn from wfMsg/wfMsgForContent * Fixed Special:Groups, it is now half-decent. Too many changes to list here.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8778
Diffstat (limited to 'includes/User.php')
-rw-r--r--includes/User.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/User.php b/includes/User.php
index 69a8fae71a54..35cfca39269b 100644
--- a/includes/User.php
+++ b/includes/User.php
@@ -806,10 +806,6 @@ class User {
*/
function isBot() {
$this->loadFromDatabase();
-
- # Why was this here? I need a UID=0 conversion script [TS]
- # if ( 0 == $this->mId ) { return false; }
-
return in_array( 'bot', $this->mRights );
}