diff options
| author | Oliver Schramm <oliver.schramm97@gmail.com> | 2016-08-11 01:20:59 +0200 |
|---|---|---|
| committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2016-08-11 01:20:59 +0200 |
| commit | 4938887e5d446637aac9a36f87ea26898dc31b80 (patch) | |
| tree | 9a0ae35f9ac8a7f147b3806236c0a7c501b8f483 /phpBB/phpbb/db/migration/tool | |
| parent | 55f98d0941e17b473015baf07026efabaf676916 (diff) | |
| parent | 2ee8bd0c4a0379961c7ec00376c216822672057f (diff) | |
| download | forums-4938887e5d446637aac9a36f87ea26898dc31b80.tar forums-4938887e5d446637aac9a36f87ea26898dc31b80.tar.gz forums-4938887e5d446637aac9a36f87ea26898dc31b80.tar.bz2 forums-4938887e5d446637aac9a36f87ea26898dc31b80.tar.xz forums-4938887e5d446637aac9a36f87ea26898dc31b80.zip | |
Merge branch 'ticket/14742' into ticket/14742-32x
Diffstat (limited to 'phpBB/phpbb/db/migration/tool')
| -rw-r--r-- | phpBB/phpbb/db/migration/tool/config.php | 5 | ||||
| -rw-r--r-- | phpBB/phpbb/db/migration/tool/config_text.php | 5 | ||||
| -rw-r--r-- | phpBB/phpbb/db/migration/tool/module.php | 5 | ||||
| -rw-r--r-- | phpBB/phpbb/db/migration/tool/permission.php | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/tool/config.php b/phpBB/phpbb/db/migration/tool/config.php index f93e7118c4..2a76409db5 100644 --- a/phpBB/phpbb/db/migration/tool/config.php +++ b/phpBB/phpbb/db/migration/tool/config.php @@ -150,6 +150,11 @@ class config implements \phpbb\db\migration\tool\tool_interface $arguments[0], ); break; + + case 'reverse': + // It's like double negative + $call = array_shift($arguments); + break; } if ($call) diff --git a/phpBB/phpbb/db/migration/tool/config_text.php b/phpBB/phpbb/db/migration/tool/config_text.php index bf8ac55023..21b8a8b3a0 100644 --- a/phpBB/phpbb/db/migration/tool/config_text.php +++ b/phpBB/phpbb/db/migration/tool/config_text.php @@ -115,6 +115,11 @@ class config_text implements \phpbb\db\migration\tool\tool_interface $arguments[] = ''; } break; + + case 'reverse': + // It's like double negative + $call = array_shift($arguments); + break; } if ($call) diff --git a/phpBB/phpbb/db/migration/tool/module.php b/phpBB/phpbb/db/migration/tool/module.php index a5ed62fd65..bf992a6ff1 100644 --- a/phpBB/phpbb/db/migration/tool/module.php +++ b/phpBB/phpbb/db/migration/tool/module.php @@ -443,6 +443,11 @@ class module implements \phpbb\db\migration\tool\tool_interface case 'remove': $call = 'add'; break; + + case 'reverse': + // It's like double negative + $call = array_shift($arguments); + break; } if ($call) diff --git a/phpBB/phpbb/db/migration/tool/permission.php b/phpBB/phpbb/db/migration/tool/permission.php index ceff6d7d5a..3a1e2e344b 100644 --- a/phpBB/phpbb/db/migration/tool/permission.php +++ b/phpBB/phpbb/db/migration/tool/permission.php @@ -637,6 +637,11 @@ class permission implements \phpbb\db\migration\tool\tool_interface $arguments[0], ); break; + + case 'reverse': + // It's like double negative + $call = array_shift($arguments); + break; } if ($call) |
