Match to previous commit

Add missing comments
This commit is contained in:
steve-lad 2021-01-28 10:00:10 +01:00 committed by Diederik de Groot
parent 11af87ca38
commit 2f69bdb3fa
No known key found for this signature in database
GPG key ID: AFA728250A1BECD6
3 changed files with 5 additions and 10 deletions

View file

@ -22,7 +22,6 @@ if (empty($spage->class_error)) {
$display_page = $spage->infoServerShowPage();
$display_info = _("SCCP Server Configuration");
}
// standardise code to reduce base
include('page.html.php');
?>
<!-- End Modal alerts-->

View file

@ -22,7 +22,6 @@ if (empty($spage->class_error)) {
$display_page = $spage->infoServerShowPage();
$display_info = _("SCCP Server Configuration");
}
// standardise code to reduce base
include('page.html.php');
?>
<!-- End Modal alerts-->

View file

@ -10,12 +10,9 @@ if (!defined('FREEPBX_IS_AUTH')) {
// AGPL v3 Licened
//
$spage = FreePBX::create()->Sccp_manager;
$display_page = $spage->myShowPage();
// Initialise page before to avoid double calls and improve performance
$display_page = FreePBX::create()->Sccp_manager->myShowPage();
$display_info = _("SCCP Server Settings");
// standardise code to reduce base
include('page.html.php');
?>
<!-- End Modal alerts-->