summaryrefslogtreecommitdiff
path: root/maintenance/rebuildall.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/rebuildall.php')
-rw-r--r--maintenance/rebuildall.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintenance/rebuildall.php b/maintenance/rebuildall.php
index a2c1be93..82619048 100644
--- a/maintenance/rebuildall.php
+++ b/maintenance/rebuildall.php
@@ -21,7 +21,7 @@
* @ingroup Maintenance
*/
-require_once( dirname(__FILE__) . '/Maintenance.php' );
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
class RebuildAll extends Maintenance {
public function __construct() {
@@ -47,10 +47,10 @@ class RebuildAll extends Maintenance {
$this->output( "\n\n** Rebuilding links tables -- this can take a long time. It should be safe to abort via ctrl+C if you get bored.\n" );
$rebuildLinks = $this->runChild( 'RefreshLinks', 'refreshLinks.php' );
$rebuildLinks->execute();
-
+
$this->output( "Done.\n" );
}
}
$maintClass = "RebuildAll";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );