r55970 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55969‎ | r55970 | r55971 >
Date:14:36, 7 September 2009
Author:jojo
Status:deferred
Tags:
Comment:
move clearing suggestion data to Collection.session.php
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)
  • /trunk/extensions/Collection/Collection.session.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.session.php
@@ -46,6 +46,7 @@
4747 'subtitle' => '',
4848 'items' => array(),
4949 );
 50+ CollectionSuggest::clear();
5051 self::touchSession();
5152 }
5253
Index: trunk/extensions/Collection/Collection.body.php
@@ -136,7 +136,6 @@
137137 return;
138138 case 'clear_collection':
139139 CollectionSession::clearCollection();
140 - CollectionSuggest::clear();
141140 $redirect = $wgRequest->getVal( 'return_to' );
142141 $redirectURL = SkinTemplate::makeSpecialUrl( 'Book' );
143142 if ( !empty( $redirect ) ) {

Status & tagging log