aboutsummaryrefslogtreecommitdiff
path: root/classes/event/backup_restored.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-03-12 01:20:47 +0300
committerValentin Popov <info@valentineus.link>2018-03-12 01:29:32 +0300
commit9ada0cfe7476f4e94d14682561a0f678088428e3 (patch)
tree60f200ba16a35e4d663321bc36d20cda53247d4b /classes/event/backup_restored.php
parent0a07c2ab22c8eac323562a8dbf32095f21fe0694 (diff)
downloadlocal_webhooks-9ada0cfe7476f4e94d14682561a0f678088428e3.tar.xz
local_webhooks-9ada0cfe7476f4e94d14682561a0f678088428e3.zip
Using a constant
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes/event/backup_restored.php')
-rw-r--r--classes/event/backup_restored.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/event/backup_restored.php b/classes/event/backup_restored.php
index f0ba273..973ee78 100644
--- a/classes/event/backup_restored.php
+++ b/classes/event/backup_restored.php
@@ -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_service";
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE;
}
/**