Merge "Commit all connections after each job"
[lhc/web/wiklou.git] / includes / revisiondelete / RevDelRevisionList.php
index 7315538..4a0fff8 100644 (file)
@@ -137,7 +137,7 @@ class RevDelRevisionList extends RevDelList {
        public function doPostCommitUpdates() {
                $this->title->purgeSquid();
                // Extensions that require referencing previous revisions may need this
-               Hooks::run( 'ArticleRevisionVisibilitySet', array( &$this->title ) );
+               Hooks::run( 'ArticleRevisionVisibilitySet', array( $this->title, $this->ids ) );
                return Status::newGood();
        }
 }