From: jenkins-bot Date: Sat, 16 Feb 2019 10:59:48 +0000 (+0000) Subject: Merge "Fix documentation for Revision::getComment and WikiPage::getComment" X-Git-Tag: 1.34.0-rc.0~2809 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=3110946330d98b7d61ab5b1899c09db723a152a3;p=lhc%2Fweb%2Fwiklou.git Merge "Fix documentation for Revision::getComment and WikiPage::getComment" --- 3110946330d98b7d61ab5b1899c09db723a152a3 diff --cc includes/Revision.php index aaf106967e,47b2ac4d49..f2ca79ae15 --- a/includes/Revision.php +++ b/includes/Revision.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