diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2016-08-13 22:57:40 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2016-08-13 22:57:40 +0200 |
| commit | 48696b514860e610714cc4703a1c5d5f9829fa19 (patch) | |
| tree | 233bd2da4a97421c50126b0336362d651c7bd910 /phpBB/phpbb/db/migration/tool | |
| parent | 2dae36e3fbde62c73c0ea08f5acd4e1629ebae34 (diff) | |
| parent | 263fbe54fcf03fe55f738146d7c6359108a4b48f (diff) | |
| download | forums-48696b514860e610714cc4703a1c5d5f9829fa19.tar forums-48696b514860e610714cc4703a1c5d5f9829fa19.tar.gz forums-48696b514860e610714cc4703a1c5d5f9829fa19.tar.bz2 forums-48696b514860e610714cc4703a1c5d5f9829fa19.tar.xz forums-48696b514860e610714cc4703a1c5d5f9829fa19.zip | |
Merge pull request #4409 from Elsensee/ticket/14742
[ticket/14742] Improvements to migrator
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 035625b095..a6baf40dc1 100644 --- a/phpBB/phpbb/db/migration/tool/module.php +++ b/phpBB/phpbb/db/migration/tool/module.php @@ -454,6 +454,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) |
