aboutsummaryrefslogtreecommitdiff
path: root/lib.php
diff options
context:
space:
mode:
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());
}