summaryrefslogtreecommitdiff
path: root/maintenance/cleanupTitles.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/cleanupTitles.php')
-rw-r--r--maintenance/cleanupTitles.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/maintenance/cleanupTitles.php b/maintenance/cleanupTitles.php
index 1f06b165..a6991829 100644
--- a/maintenance/cleanupTitles.php
+++ b/maintenance/cleanupTitles.php
@@ -24,13 +24,17 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingroup Maintenance
*/
require_once( 'commandLine.inc' );
require_once( 'cleanupTable.inc' );
+/**
+ * @ingroup Maintenance
+ */
class TitleCleanup extends TableCleanup {
function __construct( $dryrun = false ) {
parent::__construct( 'page', $dryrun );
@@ -125,7 +129,7 @@ class TitleCleanup extends TableCleanup {
),
array( 'page_id' => $row->page_id ),
'cleanupTitles::moveInconsistentPage' );
- $linkCache =& LinkCache::singleton();
+ $linkCache = LinkCache::singleton();
$linkCache->clear();
}
}