mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10899] Add event core.delete_log
PHPBB3-10899
This commit is contained in:
@@ -49,7 +49,7 @@ class phpbb_log_delete_test extends phpbb_database_test_case
|
||||
|
||||
// Delete with IN condition
|
||||
$this->assertCount(2, $log->get_logs('mod', false, 0, 0, array(13, 14), 0, 0, 0, 'l.log_time DESC'));
|
||||
$log->delete('mod', array('forum_id' => array(14, 13)));
|
||||
$log->delete('mod', array('forum_id' => array('IN' => array(14, 13))));
|
||||
$this->assertEmpty($log->get_logs('mod', false, 0, 0, array(13, 14), 0, 0, 0, 'l.log_time DESC'));
|
||||
|
||||
// Delete with a custom condition (ie: WHERE x >= 10)
|
||||
|
Reference in New Issue
Block a user