X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2Frevisiondelete%2FRevDelRevisionList.php;h=4a0fff87469b219a786e35823343bc5e626ea037;hb=eca35903a2390bf7eb503fa0ede6a76ce556dc55;hp=25450725da0cba48035eaed429d2e9db7c20f216;hpb=9a6abb22e33ad039455ab660873b001952dcd6b9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/revisiondelete/RevDelRevisionList.php b/includes/revisiondelete/RevDelRevisionList.php index 25450725da..4a0fff8746 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(); } }