From da9517a335a39e5b71d8a2b7308820d808dc6ee0 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Sat, 13 Mar 2021 15:10:24 +0100 Subject: [PATCH] Apply PR 101 --- Sccp_manager.class.php | 2 +- Sccp_manager.inc/aminterface/Response.class.php | 2 -- Sccp_manager.inc/dbinterface.class.php | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index 7af48b9..e96a6bd 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -1735,7 +1735,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { } } - $this->sccpvalues['sccp_compatible'] = array('keyword' => 'compatible', 'data' => $ver_id, 'type' => '1', 'seq' => '99'); + $this->sccpvalues['sccp_compatible'] = array('keyword' => 'sccp_compatible', 'data' => $ver_id, 'type' => '1', 'seq' => '99'); $this->sccppath = $this->extconfigs->validate_init_path($confDir, $this->sccpvalues, $sccp_driver_replace); $driver = $this->FreePBX->Core->getAllDriversInfo(); // ?????? diff --git a/Sccp_manager.inc/aminterface/Response.class.php b/Sccp_manager.inc/aminterface/Response.class.php index 0ff2b0d..7efc69e 100644 --- a/Sccp_manager.inc/aminterface/Response.class.php +++ b/Sccp_manager.inc/aminterface/Response.class.php @@ -10,8 +10,6 @@ namespace FreePBX\modules\Sccp_manager\aminterface; // ************************************************************************** Response ********************************************* -namespace FreePBX\modules\Sccp_manager\aminterface; - abstract class Response extends IncomingMessage { diff --git a/Sccp_manager.inc/dbinterface.class.php b/Sccp_manager.inc/dbinterface.class.php index efcb398..fe23cbb 100644 --- a/Sccp_manager.inc/dbinterface.class.php +++ b/Sccp_manager.inc/dbinterface.class.php @@ -356,7 +356,7 @@ class dbinterface $result = exec('mysqldump '.$database.' --password='.$pass.' --user='.$user.' --single-transaction >'.$filename, $output); return $filename; } - + /* * Check Table structure */ @@ -393,7 +393,7 @@ class dbinterface break; } } - + return $result; } }