Index: trunk/extensions/LiquidThreads/classes/DeletionController.php |
— | — | @@ -50,6 +50,10 @@ |
51 | 51 | } |
52 | 52 | |
53 | 53 | static function onArticleUndelete( &$udTitle, $created, $comment = '' ) { |
| 54 | + if ( empty(self::$pageids_to_revive) ) { |
| 55 | + return true; |
| 56 | + } |
| 57 | + |
54 | 58 | foreach( self::$pageids_to_revive as $pageid => $title ) { |
55 | 59 | if ($pageid == 0) { |
56 | 60 | continue; |