Browse Source

Reverted a stupid change I did (don't even know why) that breaks our lovely packman - thanks Illori for reporting the error

Signed-off-by: emanuele <[email protected]>
emanuele 11 years ago
parent
commit
a51f261f35
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Packages.php

+ 2 - 2
Sources/Packages.php

@@ -961,7 +961,7 @@ function PackageInstall()
 	if (!isset($old_version) || $context['is_installed'])
 		$install_log = parsePackageInfo($packageInfo['xml'], false, 'install');
 
-	$install_finished = false;
+	$context['install_finished'] = false;
 
 	// @todo Make a log of any errors that occurred and output them?
 
@@ -1172,7 +1172,7 @@ function PackageInstall()
 		}
 		$smcFunc['db_free_result']($request);
 
-		$install_finished = true;
+		$context['install_finished'] = true;
 	}
 
 	// If there's database changes - and they want them removed - let's do it last!