diff options
author | Valentin Popov <info@valentineus.link> | 2018-03-12 01:20:47 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-03-12 01:29:32 +0300 |
commit | 9ada0cfe7476f4e94d14682561a0f678088428e3 (patch) | |
tree | 60f200ba16a35e4d663321bc36d20cda53247d4b /classes | |
parent | 0a07c2ab22c8eac323562a8dbf32095f21fe0694 (diff) | |
download | local_webhooks-9ada0cfe7476f4e94d14682561a0f678088428e3.tar.xz local_webhooks-9ada0cfe7476f4e94d14682561a0f678088428e3.zip |
Using a constant
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/event/backup_performed.php | 2 | ||||
-rw-r--r-- | classes/event/backup_restored.php | 2 | ||||
-rw-r--r-- | classes/event/response_answer.php | 2 | ||||
-rw-r--r-- | classes/event/service_added.php | 2 | ||||
-rw-r--r-- | classes/event/service_deleted.php | 2 | ||||
-rw-r--r-- | classes/event/service_deletedall.php | 2 | ||||
-rw-r--r-- | classes/event/service_updated.php | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/classes/event/backup_performed.php b/classes/event/backup_performed.php index 206e730..9dc3d64 100644 --- a/classes/event/backup_performed.php +++ b/classes/event/backup_performed.php @@ -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_service"; + $this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE; } /** 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; } /** diff --git a/classes/event/response_answer.php b/classes/event/response_answer.php index f104eec..f8ed74b 100644 --- a/classes/event/response_answer.php +++ b/classes/event/response_answer.php @@ -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_service"; + $this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE; } /** diff --git a/classes/event/service_added.php b/classes/event/service_added.php index 0449e9c..f470718 100644 --- a/classes/event/service_added.php +++ b/classes/event/service_added.php @@ -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_service"; + $this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE; } /** diff --git a/classes/event/service_deleted.php b/classes/event/service_deleted.php index 3937f85..fd36106 100644 --- a/classes/event/service_deleted.php +++ b/classes/event/service_deleted.php @@ -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_service"; + $this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE; } /** diff --git a/classes/event/service_deletedall.php b/classes/event/service_deletedall.php index a7eba67..666379e 100644 --- a/classes/event/service_deletedall.php +++ b/classes/event/service_deletedall.php @@ -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_service"; + $this->data["objecttable"] = LOCAL_WEBHOOKS_NAME_TABLE; } /** diff --git a/classes/event/service_updated.php b/classes/event/service_updated.php index f6cb3ac..9c9318a 100644 --- a/classes/event/service_updated.php +++ b/classes/event/service_updated.php @@ -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; } /** |