aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/events.php12
-rw-r--r--db/install.xml4
2 files changed, 9 insertions, 7 deletions
diff --git a/db/events.php b/db/events.php
index f5dd77c..7f2733a 100644
--- a/db/events.php
+++ b/db/events.php
@@ -26,10 +26,10 @@ defined('MOODLE_INTERNAL') || die();
$observers = array(
array(
- "callback" => "\local_webhooks\\handler::events",
- "eventname" => "*",
- "includefile" => null,
- "internal" => true,
- "priority" => 200
- )
+ 'callback' => '\local_webhooks\handler::events',
+ 'eventname' => '*',
+ 'includefile' => null,
+ 'internal' => true,
+ 'priority' => 200,
+ ),
); \ No newline at end of file
diff --git a/db/install.xml b/db/install.xml
index eff9631..ed5d6b1 100644
--- a/db/install.xml
+++ b/db/install.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<XMLDB PATH="local/webhooks/db" VERSION="2018061900" COMMENT="XMLDB file for Moodle" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
+<XMLDB PATH="local/webhooks/db" VERSION="2018061900" COMMENT="XMLDB file for Moodle"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
<TABLES>
<TABLE NAME="local_webhooks_service" COMMENT="A table for storing callback services.">
<FIELDS>