Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php |
— | — | @@ -116,6 +116,7 @@ |
117 | 117 | array( 'username' => $wgUser->getName() ), |
118 | 118 | __METHOD__ |
119 | 119 | ); |
| 120 | + self::deleteOld(); |
120 | 121 | } |
121 | 122 | |
122 | 123 | return true; |
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php |
— | — | @@ -39,7 +39,6 @@ |
40 | 40 | */ |
41 | 41 | public static function updateStatus() { |
42 | 42 | global $wgUser; |
43 | | - OnlineStatusBar_StatusCheck::deleteOld(); |
44 | 43 | OnlineStatusBar::purge( $wgUser ); |
45 | 44 | OnlineStatusBar_StatusCheck::updateStatus(); |
46 | 45 | return true; |