mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/14742] Fix comments in migrator
PHPBB3-14742
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user