Added the function of receiving all the events
This commit is contained in:
10
lib.php
10
lib.php
@ -83,6 +83,16 @@ function local_webhooks_get_list_records($limitfrom = 0, $limitnum = 0) {
|
||||
return $listrecords;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of all system events.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function local_webhooks_get_list_events() {
|
||||
$eventlist = report_eventlist_list_generator::get_all_events_list(true);
|
||||
return $eventlist;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an entry in the database.
|
||||
*
|
||||
|
Reference in New Issue
Block a user