Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php |
— | — | @@ -144,6 +144,7 @@ |
145 | 145 | 'username' => $wgUser->getName(), |
146 | 146 | 'timestamp' => $dbw->timestamp(), |
147 | 147 | ); |
| 148 | + self::setCache( $wgUser->getName(), '', ONLINESTATUSBAR_NORMAL_CACHE ); |
148 | 149 | $dbw->insert( 'online_status', $row, __METHOD__ ); |
149 | 150 | return false; |
150 | 151 | } |
— | — | @@ -186,6 +187,7 @@ |
187 | 188 | array( 'username' => $wgUser->getName() ), |
188 | 189 | __METHOD__ |
189 | 190 | ); |
| 191 | + self::setCache( $wgUser->getName(), '', ONLINESTATUSBAR_NORMAL_CACHE ); |
190 | 192 | self::deleteOld(); |
191 | 193 | } |
192 | 194 | return true; |