Make redirect update in refreshLinks.php bypass the redirect table
[lhc/web/wiklou.git] / maintenance / deleteOrphanedRevisions.php
index 5dc7567..dcbf739 100644 (file)
@@ -61,7 +61,7 @@ class DeleteOrphanedRevisions extends Maintenance {
 
                # Nothing to do?
                if ( $report || $count == 0 ) {
-                       $dbw->commit();
+                       $dbw->commit( __METHOD__ );
                        exit( 0 );
                }