1
0
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:
Oliver Schramm 2016-08-20 03:35:38 +02:00
parent 488fd8f54c
commit e050cf5c11
5 changed files with 6 additions and 5 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;