From 096f04eebc7de54a8ef5c6b56fbbb3b663227d3a Mon Sep 17 00:00:00 2001 From: PranavK Date: Sun, 4 Jan 2015 12:32:49 +0530 Subject: [PATCH] Make showDiffPage() protected Change-Id: Ida696a96445aa6bc71d1ab6c9363289261e01bfa --- includes/page/Article.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/page/Article.php b/includes/page/Article.php index be138f1014..4d46450cd9 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -774,9 +774,8 @@ class Article implements Page { * Show a diff page according to current request variables. For use within * Article::view() only, other callers should use the DifferenceEngine class. * - * @todo Make protected */ - public function showDiffPage() { + protected function showDiffPage() { $request = $this->getContext()->getRequest(); $user = $this->getContext()->getUser(); $diff = $request->getVal( 'diff' ); -- 2.20.1