Using a constant

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-03-12 02:20:47 +04:00
parent 0a07c2ab22
commit 9ada0cfe74
8 changed files with 16 additions and 14 deletions

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_service";
$this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
}
/**