The function 'local_webhooks_get_total_count' is deleted
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		
							
								
								
									
										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);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 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.
 | 
			
		||||
 *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user