diff options
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -120,6 +120,16 @@ 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_service", array()); +} + +/** * Create an entry in the database. * * @param object $record |