aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}