diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-07-06 01:43:43 +0200 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-07-06 23:45:20 +0200 |
commit | 7ccb6389124c5e990abaa917a6684fc3f4d072db (patch) | |
tree | 41ed0ef6d95a77643f0499b34fdc81364e05505a /phpBB/phpbb/textreparser/reparser_interface.php | |
parent | ca5d4fd31031a47cc3a485457473b82660b84ed1 (diff) | |
download | forums-7ccb6389124c5e990abaa917a6684fc3f4d072db.tar forums-7ccb6389124c5e990abaa917a6684fc3f4d072db.tar.gz forums-7ccb6389124c5e990abaa917a6684fc3f4d072db.tar.bz2 forums-7ccb6389124c5e990abaa917a6684fc3f4d072db.tar.xz forums-7ccb6389124c5e990abaa917a6684fc3f4d072db.zip |
[ticket/13987] Add --dry-run option to reparser CLI
PHPBB3-13987
Diffstat (limited to 'phpBB/phpbb/textreparser/reparser_interface.php')
-rw-r--r-- | phpBB/phpbb/textreparser/reparser_interface.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/phpbb/textreparser/reparser_interface.php b/phpBB/phpbb/textreparser/reparser_interface.php index 9ea1732870..e201a77882 100644 --- a/phpBB/phpbb/textreparser/reparser_interface.php +++ b/phpBB/phpbb/textreparser/reparser_interface.php @@ -25,8 +25,9 @@ interface reparser_interface /** * Reparse all records in given range * - * @param integer $min_id Lower bound - * @param integer $max_id Upper bound + * @param integer $min_id Lower bound + * @param integer $max_id Upper bound + * @param integer $dry_run If TRUE, do not save the changes */ - public function reparse_range($min_id, $max_id); + public function reparse_range($min_id, $max_id, $dry_run = false); } |