Fixed the name of the constant
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
25f1756835
commit
6aed41d675
@ -39,7 +39,7 @@ class backup_performed extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "c";
|
$this->data["crud"] = "c";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class backup_restored extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "u";
|
$this->data["crud"] = "u";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class response_answer extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "r";
|
$this->data["crud"] = "r";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class service_added extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "c";
|
$this->data["crud"] = "c";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class service_deleted extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "d";
|
$this->data["crud"] = "d";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class service_deletedall extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "d";
|
$this->data["crud"] = "d";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class service_updated extends \core\event\base {
|
|||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data["crud"] = "u";
|
$this->data["crud"] = "u";
|
||||||
$this->data["edulevel"] = self::LEVEL_OTHER;
|
$this->data["edulevel"] = self::LEVEL_OTHER;
|
||||||
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
|
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user