diff options
author | Valentin Popov <info@valentineus.link> | 2018-11-01 23:36:09 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-11-02 00:07:14 +0300 |
commit | d8f3a9f3edf66fad0af84a703e39e45911f37d85 (patch) | |
tree | fb73b9abcb557b7f86d026a1294315c958e79432 /db | |
parent | f9772b1fb97b81468793388ed8af3c06f4f3e279 (diff) | |
download | local_webhooks-d8f3a9f3edf66fad0af84a703e39e45911f37d85.tar.xz local_webhooks-d8f3a9f3edf66fad0af84a703e39e45911f37d85.zip |
Formatting code and eliminating possible errors
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'db')
-rw-r--r-- | db/events.php | 12 | ||||
-rw-r--r-- | db/install.xml | 4 |
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> |