Make showDiffPage() protected
authorPranavK <pranavmk98@gmail.com>
Sun, 4 Jan 2015 07:02:49 +0000 (12:32 +0530)
committerPranavK <pranavmk98@gmail.com>
Tue, 6 Jan 2015 10:40:21 +0000 (16:10 +0530)
Change-Id: Ida696a96445aa6bc71d1ab6c9363289261e01bfa

includes/page/Article.php

index be138f1..4d46450 100644 (file)
@@ -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' );