MDL-45357 events: Improve clarity of allow role change descriptions
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 6 May 2014 06:32:06 +0000 (14:32 +0800)
committerMarina Glancy <marina@moodle.com>
Tue, 6 May 2014 08:43:56 +0000 (16:43 +0800)
lib/classes/event/role_allow_assign_updated.php
lib/classes/event/role_allow_override_updated.php
lib/classes/event/role_allow_switch_updated.php

index 92732a8..6268d4b 100644 (file)
@@ -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.";
     }
 
     /**
index 3c5c8d8..c88e084 100644 (file)
@@ -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.";
     }
 
     /**
index 8811b95..f8369e7 100644 (file)
@@ -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.";
     }
 
     /**