diff options
Diffstat (limited to 'maintenance/deleteOrphanedRevisions.php')
-rw-r--r-- | maintenance/deleteOrphanedRevisions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/maintenance/deleteOrphanedRevisions.php b/maintenance/deleteOrphanedRevisions.php index 5dc7567f..f0da9a82 100644 --- a/maintenance/deleteOrphanedRevisions.php +++ b/maintenance/deleteOrphanedRevisions.php @@ -61,7 +61,7 @@ class DeleteOrphanedRevisions extends Maintenance { # Nothing to do? if ( $report || $count == 0 ) { - $dbw->commit(); + $dbw->commit( __METHOD__ ); exit( 0 ); } @@ -91,4 +91,3 @@ class DeleteOrphanedRevisions extends Maintenance { $maintClass = "DeleteOrphanedRevisions"; require_once( RUN_MAINTENANCE_IF_MAIN ); - |