Fixed event type

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-06-07 05:10:58 +04:00
parent a6682c8ce4
commit 50f9e3831c
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -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();
}