Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.i18n.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | // Status bar text line (User is now Offline) etc. |
21 | 21 | 'onlinestatusbar-line' => '$1 is now $2 $3', |
22 | 22 | // Message in config asking user if they want to enable it |
23 | | - 'onlinestatusbar-used' => 'Do you want to let others see if you are online?', |
| 23 | + 'onlinestatusbar-used' => 'Display your online status on your user pages', |
24 | 24 | // Message in config asking what status they want to use |
25 | 25 | 'onlinestatusbar-status' => 'What is the default status you wish to use:', |
26 | 26 | // Message in config asking if user wants to purge the user page |
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php |
— | — | @@ -78,15 +78,14 @@ |
79 | 79 | } |
80 | 80 | else { |
81 | 81 | $result = self::getCache( $user->getName(), "d" ); |
82 | | - |
83 | 82 | if ( $result == '' ) { |
84 | 83 | $dbr = wfGetDB( DB_SLAVE ); |
85 | 84 | $result = $dbr->selectField( 'online_status', 'timestamp', array( 'username' => $user->getName() ), |
86 | 85 | __METHOD__, array( 'LIMIT 1', 'ORDER BY timestamp DESC' ) ); |
87 | | - $w_time = OnlineStatusBar::getTimeoutDate( true ); |
88 | 86 | // cache it |
89 | 87 | self::setCache( $user->getName(), $result, "d" ); |
90 | 88 | } |
| 89 | + $w_time = OnlineStatusBar::getTimeoutDate( true ); |
91 | 90 | } |
92 | 91 | |
93 | 92 | if ( $result === false ) { |