Start refactor work on GenericTables #51
@ -24,7 +24,7 @@ class ErrorLog
|
||||
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user