Smuggli has submitted this change and it was merged. Change subject: Correct reference to userCan hook ......................................................................
Correct reference to userCan hook That hook has been moved to Title::checkPermissionHooks() and Title::userCanRead() is now deprecated. Change-Id: I7c204e753d629a2b3912de75ab8a90c573adb897 --- M includes/CoreHooks.php 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: Robert Vogel: Checked; Looks good to me, but someone else must approve Smuggli: Verified; Looks good to me, approved diff --git a/includes/CoreHooks.php b/includes/CoreHooks.php index 8aca8e5..da7f66d 100755 --- a/includes/CoreHooks.php +++ b/includes/CoreHooks.php @@ -367,9 +367,9 @@ } /** - * This function triggers User::isAllowed when userCanRead is called. This - * leads to an early initialization of $user object, which is needed in - * order to have correct permission sets in BlueSpice. + * This function triggers User::isAllowed when checkPermissionHooks is run + * from Title.php. This leads to an early initialization of $user object, + * which is needed in order to have correct permission sets in BlueSpice. * @param Title $title * @param User $user * @param string $action -- To view, visit https://gerrit.wikimedia.org/r/148019 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7c204e753d629a2b3912de75ab8a90c573adb897 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation Gerrit-Branch: master Gerrit-Owner: Withoutaname <drevit...@gmail.com> Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz> Gerrit-Reviewer: Pigpen <reym...@hallowelt.biz> Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: Smuggli <mug...@hallowelt.biz> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits