aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/log/log_interface.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-28 23:20:50 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-28 23:20:50 +0200
commit59f39273d42bb863ffa0d46e017919bdbe39d8d5 (patch)
treefdac34bafc989f25d667a5d9c96f32300499b5a7 /phpBB/phpbb/log/log_interface.php
parentd3f4dbedde157c316fe5a675de923e9b1e73d6f2 (diff)
downloadforums-59f39273d42bb863ffa0d46e017919bdbe39d8d5.tar
forums-59f39273d42bb863ffa0d46e017919bdbe39d8d5.tar.gz
forums-59f39273d42bb863ffa0d46e017919bdbe39d8d5.tar.bz2
forums-59f39273d42bb863ffa0d46e017919bdbe39d8d5.tar.xz
forums-59f39273d42bb863ffa0d46e017919bdbe39d8d5.zip
[ticket/10899] Add event core.delete_log
PHPBB3-10899
Diffstat (limited to 'phpBB/phpbb/log/log_interface.php')
-rw-r--r--phpBB/phpbb/log/log_interface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/log/log_interface.php b/phpBB/phpbb/log/log_interface.php
index 165eeaeed2..eb3f700953 100644
--- a/phpBB/phpbb/log/log_interface.php
+++ b/phpBB/phpbb/log/log_interface.php
@@ -72,8 +72,8 @@ interface log_interface
* @param string $mode The mode defines which log_type is used and from which log the entries are deleted
* @param array $conditions An array of conditions, 3 different forms are accepted
* 1) <key> => <value> transformed into 'AND <key> = <value>' (value should be an integer)
- * 2) <key> => array(<operator>, <value>) transformed into 'AND <key> <operator> <value>' (value should be an integer)
- * 3) <key> => array(<values>) transformed into 'AND <key> IN <values>'
+ * 2) <key> => array(<operator>, <value>) transformed into 'AND <key> <operator> <value>' (values can't be an array)
+ * 3) <key> => array('IN' => array(<values>)) transformed into 'AND <key> IN <values>'
* A special field, keywords, can also be defined. In this case only the log entries that have the keywords in log_operation or log_data will be deleted.
*/
public function delete($mode, $conditions = array());