The function 'local_webhooks_get_total_count' is deleted
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
6aed41d675
commit
5036ef261c
11
lib.php
11
lib.php
@ -113,17 +113,6 @@ function local_webhooks_get_list_events() {
|
|||||||
return report_eventlist_list_generator::get_all_events_list(true);
|
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.
|
* Create an entry in the database.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user