From f32629c7ea44ea80b1e59a202afc93fdb754ec66 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 6 May 2014 14:32:06 +0800 Subject: [PATCH] MDL-45357 events: Improve clarity of allow role change descriptions --- lib/classes/event/role_allow_assign_updated.php | 2 +- lib/classes/event/role_allow_override_updated.php | 2 +- lib/classes/event/role_allow_switch_updated.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/classes/event/role_allow_assign_updated.php b/lib/classes/event/role_allow_assign_updated.php index 92732a8907e..6268d4bb20a 100644 --- a/lib/classes/event/role_allow_assign_updated.php +++ b/lib/classes/event/role_allow_assign_updated.php @@ -59,7 +59,7 @@ class role_allow_assign_updated extends base { * @return string */ public function get_description() { - return "The user with the id '$this->userid' updated the allowed role assignments."; + return "The user with the id '$this->userid' updated Allow role assignments."; } /** diff --git a/lib/classes/event/role_allow_override_updated.php b/lib/classes/event/role_allow_override_updated.php index 3c5c8d84a79..c88e084aff5 100644 --- a/lib/classes/event/role_allow_override_updated.php +++ b/lib/classes/event/role_allow_override_updated.php @@ -59,7 +59,7 @@ class role_allow_override_updated extends base { * @return string */ public function get_description() { - return "The user with the id '$this->userid' updated the allowed role overrides."; + return "The user with the id '$this->userid' updated Allow role overrides."; } /** diff --git a/lib/classes/event/role_allow_switch_updated.php b/lib/classes/event/role_allow_switch_updated.php index 8811b959845..f8369e7c9ee 100644 --- a/lib/classes/event/role_allow_switch_updated.php +++ b/lib/classes/event/role_allow_switch_updated.php @@ -59,7 +59,7 @@ class role_allow_switch_updated extends base { * @return string */ public function get_description() { - return "The user with the id '$this->userid' updated the allowed role switches"; + return "The user with the id '$this->userid' updated Allow role switches."; } /**