Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php |
— | — | @@ -63,6 +63,10 @@ |
64 | 64 | return array( $status, $user ); |
65 | 65 | } |
66 | 66 | |
| 67 | + /** |
| 68 | + * @param $user User |
| 69 | + * @return String |
| 70 | + */ |
67 | 71 | public static function getStatus( $user ) { |
68 | 72 | global $wgOnlineStatusBarDefaultOffline, $wgOnlineStatusBarDefaultOnline; |
69 | 73 | |
— | — | @@ -150,10 +154,6 @@ |
151 | 155 | return $wgOnlineStatusBarTrackIpUsers; |
152 | 156 | } |
153 | 157 | |
154 | | - if ( $user->getId() == 0 ) |
155 | | - { |
156 | | - return false; |
157 | | - } |
158 | 158 | // do we track them |
159 | 159 | return $user->getOption( "OnlineStatusBar_active", $wgOnlineStatusBarDefaultEnabled ); |
160 | 160 | } |