mirror of
https://github.com/PawelSuwinski/moodle-auth_emailotp.git
synced 2026-10-22 10:48:06 +02:00
event classes refactoring
This commit is contained in:
1 parent
2db88bb417
commit
fc56948099
2 files changed
+3
-3
No files matched your search
@@ -35,13 +35,13 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
class otp_generated extends \core\event\base {
|
||||
|
||||
protected static $crud = 'c';
|
||||
protected const CRUD = 'c';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function init() {
|
||||
$this->data['crud'] = static::$crud;
|
||||
$this->data['crud'] = static::CRUD;
|
||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
||||
$this->context = \context_system::instance();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user