Some HipHop fixes:
[lhc/web/wiklou.git] / maintenance / fixSlaveDesync.php
index d26c12e..fe89294 100644 (file)
@@ -27,9 +27,9 @@ class FixSlaveDesync extends Maintenance {
        }
 
        public function getDbType() {
-               return self::DB_ADMIN;
+               return Maintenance::DB_ADMIN;
        }
-       
+
        public function execute() {
                $this->slaveIndexes = array();
                for ( $i = 1; $i < wfGetLB()->getServerCount(); $i++ ) {
@@ -204,4 +204,4 @@ class FixSlaveDesync extends Maintenance {
 }
 
 $maintClass = "FixSlaveDesync";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );