From: PranavK Date: Sun, 4 Jan 2015 07:02:49 +0000 (+0530) Subject: Make showDiffPage() protected X-Git-Tag: 1.31.0-rc.0~12385^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=096f04eebc7de54a8ef5c6b56fbbb3b663227d3a;p=lhc%2Fweb%2Fwiklou.git Make showDiffPage() protected Change-Id: Ida696a96445aa6bc71d1ab6c9363289261e01bfa --- 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' );