From 495ede0df24e94f18b142c4f79d248cc5a83ee5e Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Thu, 3 Jun 2021 09:05:24 +0200 Subject: [PATCH] Update Sccp_manager.class.php Update version --- Sccp_manager.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index aebd0c8..00fcc80 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -89,7 +89,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { private $SCCP_LANG_DICTIONARY = 'be-sccp.jar'; // CISCO LANG file search in /tftp-path private $pagedata = null; private $sccp_driver_ver = '11.4'; // Ver fore SCCP.CLASS.PHP - public $sccp_manager_ver = '14.0.0.2'; + public $sccp_manager_ver = '14.1.0.0'; public $sccp_branch = 'm'; // Ver fore SCCP.CLASS.PHP private $tftpLang = array(); @@ -119,7 +119,6 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { $this->db = $freepbx->Database; $this->cnf_wr = \FreePBX::WriteConfig(); $this->cnf_read = \FreePBX::LoadConfig(); -// $this->v = new \Respect\Validation\Validator(); $driverNamespace = "\\FreePBX\\Modules\\Sccp_manager"; if (class_exists($driverNamespace, false)) { foreach (glob(__DIR__ . "/sccpManClasses/*.class.php") as $driver) { @@ -260,7 +259,6 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { } } - /* * Show form information - General */ @@ -299,6 +297,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { "page" => 'views/server.info.php' ) ); + // If view is set to simple, remove the ntp, codec and advanced tabs if (isset($this->sccpvalues['displayconfig']['data']) && ($this->sccpvalues['displayconfig']['data'] == 'sccpsimple')) { unset($this->pagedata['sccpntp'], $this->pagedata['sccpcodec'], $this->pagedata['sccpadv'] ); }