Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | { |
52 | 52 | global $wgUser, $wgDBname, $wgOnlineStatusBarDefaultOffline, $wgOnlineStatusBarTable; |
53 | 53 | $now = OnlineStatusBar::GetNow(); |
54 | | - if (OnlineStatusBar::GetStatus() != $wgOnlineStatusBarDefaultOffline) |
| 54 | + if (OnlineStatusBar::GetStatus() == $wgOnlineStatusBarDefaultOffline) |
55 | 55 | { |
56 | 56 | OnlineStatusBar::UpdateDb(); |
57 | 57 | return true; |