aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-03-13 00:53:32 +0300
committerValentin Popov <info@valentineus.link>2018-03-13 00:53:32 +0300
commit5036ef261c46d9759d600769b7d1000f43155ef0 (patch)
tree4cfb5567aebaff71bee36bedfff5116917b56aa3
parent6aed41d6754b9ac3202c1b567f5f3f4b3c5ca66f (diff)
downloadlocal_webhooks-5036ef261c46d9759d600769b7d1000f43155ef0.tar.xz
local_webhooks-5036ef261c46d9759d600769b7d1000f43155ef0.zip
The function 'local_webhooks_get_total_count' is deleted
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--lib.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib.php b/lib.php
index 85372f9..69b2f00 100644
--- a/lib.php
+++ b/lib.php
@@ -114,17 +114,6 @@ function local_webhooks_get_list_events() {
}
/**
- * Get the total number of records.
- *
- * @return number
- */
-function local_webhooks_get_total_count() {
- global $DB;
-
- return $DB->count_records(LOCAL_WEBHOOKS_TABLE_SERVICES, array());
-}
-
-/**
* Create an entry in the database.
*
* @param object $record