mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 07:08:09 +01:00
[ticket/14742] Fix comments in migrator
PHPBB3-14742
This commit is contained in:
parent
488fd8f54c
commit
e050cf5c11
@ -152,7 +152,7 @@ class config implements \phpbb\db\migration\tool\tool_interface
|
||||
break;
|
||||
|
||||
case 'reverse':
|
||||
// It's like double negative
|
||||
// Reversing a reverse is just the call itself
|
||||
$call = array_shift($arguments);
|
||||
break;
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ class config_text implements \phpbb\db\migration\tool\tool_interface
|
||||
break;
|
||||
|
||||
case 'reverse':
|
||||
// It's like double negative
|
||||
// Reversing a reverse is just the call itself
|
||||
$call = array_shift($arguments);
|
||||
break;
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||
break;
|
||||
|
||||
case 'reverse':
|
||||
// It's like double negative
|
||||
// Reversing a reverse is just the call itself
|
||||
$call = array_shift($arguments);
|
||||
break;
|
||||
}
|
||||
|
@ -639,7 +639,7 @@ class permission implements \phpbb\db\migration\tool\tool_interface
|
||||
break;
|
||||
|
||||
case 'reverse':
|
||||
// It's like double negative
|
||||
// Reversing a reverse is just the call itself
|
||||
$call = array_shift($arguments);
|
||||
break;
|
||||
}
|
||||
|
@ -530,7 +530,8 @@ class migrator
|
||||
// Set state to false since we reached the point we were at
|
||||
$state = false;
|
||||
|
||||
// There is a tendency to get stuck in some cases
|
||||
// If the last result is null or true, this means
|
||||
// the last method call was finished and we can move on
|
||||
if ($last_result === null || $last_result === true)
|
||||
{
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user