X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2Frevisiondelete%2FRevDelRevisionList.php;h=4a0fff87469b219a786e35823343bc5e626ea037;hb=eca35903a2390bf7eb503fa0ede6a76ce556dc55;hp=6c47d4a03a86969ce6edb7df4ce35671f9888369;hpb=be02da8e1a5bcb3e5f6bc4bc0687681cdca07908;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/revisiondelete/RevDelRevisionList.php b/includes/revisiondelete/RevDelRevisionList.php index 6c47d4a03a..4a0fff8746 100644 --- a/includes/revisiondelete/RevDelRevisionList.php +++ b/includes/revisiondelete/RevDelRevisionList.php @@ -30,7 +30,7 @@ */ class RevDelRevisionList extends RevDelList { /** @var int */ - var $currentRevId; + public $currentRevId; public function getType() { return 'revision'; @@ -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(); } }