Browse Source

Update upgrade.php changes apps to repos

FusionPBX 1 year ago
parent
commit
8c9a6a55f0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/upgrade/upgrade.php

+ 2 - 2
core/upgrade/upgrade.php

@@ -151,7 +151,7 @@
 		}
 	}
 
-//check for upgrade menu option first
+//check for the upgrade menu option first
 	if ($upgrade_type == 'menu') {
 		require __DIR__ . '/upgrade_menu.php';
 		exit();
@@ -290,7 +290,7 @@
 	}
 
 //upgrade optional apps
-	if ($upgrade_type == 'apps') {
+	if ($upgrade_type == 'repos') {
 
 		$app_list = git_find_repos($_SERVER["PROJECT_ROOT"]."/app");