summaryrefslogtreecommitdiff
path: root/maintenance/deleteOrphanedRevisions.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/deleteOrphanedRevisions.php')
-rw-r--r--maintenance/deleteOrphanedRevisions.php3
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 );
-