Refactor the GenericTables class #51
| @ -24,7 +24,7 @@ class ErrorLog | |||||||
| 
 | 
 | ||||||
| 	public static function flush() | 	public static function flush() | ||||||
| 	{ | 	{ | ||||||
| 		return Registry::get('db')->query('TRUNCATE log_errors'); | 		return Registry::get('db')->query('DELETE FROM log_errors'); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	public static function getCount() | 	public static function getCount() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user