aboutsummaryrefslogtreecommitdiff
path: root/lib.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-03-12 02:30:57 +0300
committerValentin Popov <info@valentineus.link>2018-03-12 02:30:57 +0300
commit55b1a6b5a9df9a5d997342c3ac44f4762a0824ec (patch)
treebe52f9db3a02515ede79d53502b3864752f14660 /lib.php
parent6a711bfc4842c0c1607039b8d0f73212635c21e4 (diff)
downloadlocal_webhooks-55b1a6b5a9df9a5d997342c3ac44f4762a0824ec.tar.xz
local_webhooks-55b1a6b5a9df9a5d997342c3ac44f4762a0824ec.zip
Delimiter
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.php b/lib.php
index 8c19167..0125073 100644
--- a/lib.php
+++ b/lib.php
@@ -128,6 +128,7 @@ function local_webhooks_get_list_events() {
*/
function local_webhooks_get_total_count() {
global $DB;
+
return $DB->count_records(LOCAL_WEBHOOKS_NAME_TABLE, array());
}