Merge "Fix documentation for Revision::getComment and WikiPage::getComment"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 16 Feb 2019 10:59:48 +0000 (10:59 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 16 Feb 2019 10:59:48 +0000 (10:59 +0000)
1  2 
includes/Revision.php
includes/page/WikiPage.php

@@@ -830,12 -846,7 +830,8 @@@ class Revision implements IDBAccessObje
                $user = $this->mRecord->getUser( $audience, $user );
                return $user ? $user->getName() : '';
        }
 +
        /**
-        * Fetch revision comment if it's available to the specified audience.
-        * If the specified audience does not have access to the comment, an
-        * empty string will be returned.
-        *
         * @param int $audience One of:
         *   Revision::FOR_PUBLIC       to be displayed to all users
         *   Revision::FOR_THIS_USER    to be displayed to the given user
Simple merge