From d72a19f9e86ef195fc17bd68f966279bb163fc20 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Thu, 3 Jun 2021 13:51:38 +0200 Subject: [PATCH] Minor Formatting --- module.xml | 1 - uninstall.php | 10 +++++----- views/advserver.model.php | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/module.xml b/module.xml index d822d3a..81ac2e4 100644 --- a/module.xml +++ b/module.xml @@ -64,7 +64,6 @@ - diff --git a/uninstall.php b/uninstall.php index b107481..e3b2651 100644 --- a/uninstall.php +++ b/uninstall.php @@ -34,11 +34,11 @@ if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); } - global $db; - $version = FreePBX::Config()->get('ASTVERSION'); +global $db; +$version = FreePBX::Config()->get('ASTVERSION'); - out('Removing all Sccp_manager tables'); - $tables = array('sccpdevmodel', 'sccpsettings'); +out('Removing all Sccp_manager tables'); +$tables = array('sccpdevmodel', 'sccpsettings'); foreach ($tables as $table) { $sql = "DROP TABLE IF EXISTS {$table}"; $result = $db->query($sql); @@ -77,5 +77,5 @@ if (!empty($version)) { * */ } - echo "done
\n"; +?> diff --git a/views/advserver.model.php b/views/advserver.model.php index 367e01c..2b13cf7 100644 --- a/views/advserver.model.php +++ b/views/advserver.model.php @@ -263,13 +263,13 @@ function SetColColorFirm(value, row, index) { if (row['validate'].split(';')[0] === 'no') { - return 'No found '+ value; + return 'Not found '+ value; } return value; } function SetColColorTempl(value, row, index) { if (row['validate'].split(';')[1] === 'no') { - return 'No found ' + value ; + return 'Not found ' + value ; } return value;