summaryrefslogtreecommitdiff
path: root/includes/revisiondelete/RevDelRevisionList.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/revisiondelete/RevDelRevisionList.php')
-rw-r--r--includes/revisiondelete/RevDelRevisionList.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/revisiondelete/RevDelRevisionList.php b/includes/revisiondelete/RevDelRevisionList.php
index 25450725..4a0fff87 100644
--- a/includes/revisiondelete/RevDelRevisionList.php
+++ b/includes/revisiondelete/RevDelRevisionList.php
@@ -54,7 +54,7 @@ class RevDelRevisionList extends RevDelList {
}
/**
- * @param DatabaseBase $db
+ * @param IDatabase $db
* @return mixed
*/
public function doQuery( $db ) {
@@ -137,7 +137,7 @@ class RevDelRevisionList extends RevDelList {
public function doPostCommitUpdates() {
$this->title->purgeSquid();
// Extensions that require referencing previous revisions may need this
- wfRunHooks( 'ArticleRevisionVisibilitySet', array( &$this->title ) );
+ Hooks::run( 'ArticleRevisionVisibilitySet', array( $this->title, $this->ids ) );
return Status::newGood();
}
}