From 35752445c34a4b3b02bccb933bf0784496732f4a Mon Sep 17 00:00:00 2001 From: markjcrane Date: Wed, 25 Nov 2015 21:55:17 -0700 Subject: [PATCH] Remove the old reference to install class and replaced with install_switch. --- core/upgrade/index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/upgrade/index.php b/core/upgrade/index.php index ef686b4b33..6a83f51e10 100644 --- a/core/upgrade/index.php +++ b/core/upgrade/index.php @@ -72,10 +72,8 @@ if (sizeof($_POST) > 0) { //update scripts folder, if allowed (default) if ($_SESSION['switch']['scripts']['dir'] != '') { //copy the files and directories from resources/install - $install = new install; - $install->domain_uuid = $domain_uuid; - $install->switch_scripts_dir = $_SESSION['switch']['scripts']['dir']; - $install->copy_scripts(); + $obj = new install_switch; + $obj->upgrade(); //set the message $response_message = $text['message-upgrade_source_scripts']; }