From e050cf5c1163dc18e948ac0706b86743243d72f5 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sat, 20 Aug 2016 03:35:38 +0200 Subject: [ticket/14742] Fix comments in migrator PHPBB3-14742 --- phpBB/phpbb/db/migrator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/phpbb/db/migrator.php') diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php index 65db4b74bf..9bfafd4d3f 100644 --- a/phpBB/phpbb/db/migrator.php +++ b/phpBB/phpbb/db/migrator.php @@ -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; -- cgit v1.2.1