incorrect reference to get the switch to restart

This commit is contained in:
Matthew Vale
2015-11-26 18:35:11 +00:00
parent 14b873f5db
commit 6cb5fb5f5d

View File

@@ -311,7 +311,7 @@ if(!$install_step) { $install_step = 'select_language'; }
$fusionPBX->install();
$switch->install();
$fusionPBX->app_defaults();
$detect_switch->restart_switch();
$switch->detect_switch->restart_switch();
}catch(Exception $e){
echo "</pre>\n";
echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";