From 7a0769d619a2bb28c2d35a04524a4694180a202e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 27 May 2010 15:13:30 +0000 Subject: [PATCH] (bug 23676) Spelling correction: ArticleRevisionVisiblitySet -> ArticleRevisionVisibilitySet --- docs/hooks.txt | 2 +- includes/RevisionDelete.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 6243579d19..7de172f273 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -439,7 +439,7 @@ $moveonly: boolean whether it was for move only or not 'ArticlePurge': before executing "&action=purge" $article: article (object) to purge -'ArticleRevisionVisiblitySet': called when changing visibility of one or more +'ArticleRevisionVisibilitySet': called when changing visibility of one or more revision of an article &$title: title object of the article diff --git a/includes/RevisionDelete.php b/includes/RevisionDelete.php index 69b87a2a81..72fdfde807 100644 --- a/includes/RevisionDelete.php +++ b/includes/RevisionDelete.php @@ -766,7 +766,7 @@ class RevDel_RevisionList extends RevDel_List { public function doPostCommitUpdates() { $this->title->purgeSquid(); // Extensions that require referencing previous revisions may need this - wfRunHooks( 'ArticleRevisionVisiblitySet', array( &$this->title ) ); + wfRunHooks( 'ArticleRevisionVisibilitySet', array( &$this->title ) ); return Status::newGood(); } } -- 2.20.1