aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-06-07 04:10:58 +0300
committerValentin Popov <info@valentineus.link>2018-06-07 04:10:58 +0300
commit50f9e3831c9d87534ac39fdb38378ab9ffdd48f5 (patch)
tree44cca83f155f32a1cc66e38958ab089f91ad5691
parenta6682c8ce4354be047d0cdb872e53ab76da8deba (diff)
downloadtool_apisiteadmins-50f9e3831c9d87534ac39fdb38378ab9ffdd48f5.tar.xz
tool_apisiteadmins-50f9e3831c9d87534ac39fdb38378ab9ffdd48f5.zip
Fixed event type
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--classes/event/administrator_added.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/event/administrator_added.php b/classes/event/administrator_added.php
index cd4feae..509f1b6 100644
--- a/classes/event/administrator_added.php
+++ b/classes/event/administrator_added.php
@@ -38,7 +38,7 @@ class administrator_added extends \core\event\base {
* Init method.
*/
protected function init() {
- $this->data["crud"] = "r";
+ $this->data["crud"] = "c";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->context = \context_system::instance();
}