aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-03-13 00:52:44 +0300
committerValentin Popov <info@valentineus.link>2018-03-13 00:52:44 +0300
commit6aed41d6754b9ac3202c1b567f5f3f4b3c5ca66f (patch)
treeea998abe101ca1f9fc290df004738f8ece634558 /classes
parent25f175683505b028bb075a38cc9cd5619bdbfe50 (diff)
downloadlocal_webhooks-6aed41d6754b9ac3202c1b567f5f3f4b3c5ca66f.tar.xz
local_webhooks-6aed41d6754b9ac3202c1b567f5f3f4b3c5ca66f.zip
Fixed the name of the constant
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes')
-rw-r--r--classes/event/backup_performed.php2
-rw-r--r--classes/event/backup_restored.php2
-rw-r--r--classes/event/response_answer.php2
-rw-r--r--classes/event/service_added.php2
-rw-r--r--classes/event/service_deleted.php2
-rw-r--r--classes/event/service_deletedall.php2
-rw-r--r--classes/event/service_updated.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/classes/event/backup_performed.php b/classes/event/backup_performed.php
index 9dc3d64..3355b5a 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**
diff --git a/classes/event/backup_restored.php b/classes/event/backup_restored.php
index 973ee78..0f960fb 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**
diff --git a/classes/event/response_answer.php b/classes/event/response_answer.php
index f8ed74b..f01aa51 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**
diff --git a/classes/event/service_added.php b/classes/event/service_added.php
index f470718..93f27d5 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**
diff --git a/classes/event/service_deleted.php b/classes/event/service_deleted.php
index fd36106..d9ebc0a 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**
diff --git a/classes/event/service_deletedall.php b/classes/event/service_deletedall.php
index 666379e..2060000 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**
diff --git a/classes/event/service_updated.php b/classes/event/service_updated.php
index 9c9318a..83208ce 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_NAME_TABLE;
+ $this->data["objecttable"] = LOCAL_WEBHOOKS_TABLE_SERVICES;
}
/**