From 55b1a6b5a9df9a5d997342c3ac44f4762a0824ec Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 12 Mar 2018 03:30:57 +0400 Subject: Delimiter Signed-off-by: Valentin Popov --- lib.php | 1 + 1 file changed, 1 insertion(+) 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()); } -- cgit v1.2.3