Fixed the name of the constant

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-03-13 01:52:44 +04:00
parent 25f1756835
commit 6aed41d675
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
7 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,7 @@ class backup_performed extends \core\event\base {
protected function init() {
$this->data["crud"] = "c";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**

View File

@ -39,7 +39,7 @@ class backup_restored extends \core\event\base {
protected function init() {
$this->data["crud"] = "u";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**

View File

@ -39,7 +39,7 @@ class response_answer extends \core\event\base {
protected function init() {
$this->data["crud"] = "r";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**

View File

@ -39,7 +39,7 @@ class service_added extends \core\event\base {
protected function init() {
$this->data["crud"] = "c";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**

View File

@ -39,7 +39,7 @@ class service_deleted extends \core\event\base {
protected function init() {
$this->data["crud"] = "d";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**

View File

@ -39,7 +39,7 @@ class service_deletedall extends \core\event\base {
protected function init() {
$this->data["crud"] = "d";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**

View File

@ -39,7 +39,7 @@ class service_updated extends \core\event\base {
protected function init() {
$this->data["crud"] = "u";
$this->data["edulevel"] = self::LEVEL_OTHER;
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
$this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**