Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php |
— | — | @@ -148,10 +148,10 @@ |
149 | 149 | |
150 | 150 | if ( $old_user->getOption('OnlineStatusBar_active', false) ) { |
151 | 151 | if ( $old_user->getOption('OnlineStatusBar_autoupdate', false) == true ) { |
152 | | - $update = SquidUpdate::newSimplePurge( $old_user->getTalkPage() ); |
153 | | - $update->doUpdate(); |
154 | | - $update = SquidUpdate::newSimplePurge( $old_user->getUserPage() ); |
155 | | - $update->doUpdate(); |
| 152 | + $tp = WikiPage::factory( $old_user->getTalkPage() ); |
| 153 | + $up = WikiPage::factory( $old_user->getUserPage() ); |
| 154 | + $tp->doPurge(); |
| 155 | + $up->doPurge(); |
156 | 156 | } |
157 | 157 | } |
158 | 158 | return true; |