From 105b52525a0e27c30a0e77e2cd173501f3961ae0 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 18 Jan 2013 13:46:36 +0100 Subject: [PATCH] Correct method name in ContentHandler comment Change-Id: Iffc5a975cd7ae311d33147c35e59ba674d5e687b Article::getReason() does not exist, but Article::generateReason() does. --- includes/content/ContentHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index 7b91607572..ccc9b2c45c 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -788,7 +788,7 @@ abstract class ContentHandler { * boolean false if no revision occurred * * @XXX &$hasHistory is extremely ugly, it's here because - * WikiPage::getAutoDeleteReason() and Article::getReason() + * WikiPage::getAutoDeleteReason() and Article::generateReason() * have it / want it. */ public function getAutoDeleteReason( Title $title, &$hasHistory ) { -- 2.20.1