r100511 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100510‎ | r100511 | r100512 >
Date:19:56, 22 October 2011
Author:petrb
Status:deferred
Tags:
Comment:
comparison fix
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php
@@ -50,7 +50,7 @@
5151 {
5252 global $wgUser, $wgDBname, $wgOnlineStatusBarDefaultOffline, $wgOnlineStatusBarTable;
5353 $now = OnlineStatusBar::GetNow();
54 - if (OnlineStatusBar::GetStatus() != $wgOnlineStatusBarDefaultOffline)
 54+ if (OnlineStatusBar::GetStatus() == $wgOnlineStatusBarDefaultOffline)
5555 {
5656 OnlineStatusBar::UpdateDb();
5757 return true;

Status & tagging log