Update domains.php

This commit is contained in:
FusionPBX 2018-02-25 01:08:54 -07:00 committed by GitHub
parent e0cf2f7899
commit cb12138405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -297,13 +297,6 @@ if (!class_exists('domains')) {
//get the context
$context = $domain_name;
//show the domain when display_type is set to text
if ($display_type == "text") {
echo "\n";
echo $domain_name;
echo "\n";
}
//get the default settings - this needs to be done to reset the session values back to the defaults for each domain in the loop
foreach($database_default_settings as $row) {
$name = $row['default_setting_name'];
@ -347,7 +340,6 @@ if (!class_exists('domains')) {
//get the list of installed apps from the core and mod directories and execute the php code in app_defaults.php
$default_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_defaults.php");
$display_type = $this->display_type;
foreach ($default_list as &$default_path) {
include($default_path);
}