mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Merge branch 'ticket/14742' into ticket/14742-32x
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user