From 5036ef261c46d9759d600769b7d1000f43155ef0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 13 Mar 2018 01:53:32 +0400 Subject: The function 'local_webhooks_get_total_count' is deleted Signed-off-by: Valentin Popov --- lib.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib.php b/lib.php index 85372f9..69b2f00 100644 --- a/lib.php +++ b/lib.php @@ -113,17 +113,6 @@ function local_webhooks_get_list_events() { return report_eventlist_list_generator::get_all_events_list(true); } -/** - * 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. * -- cgit v1.2.3