Browse Source

Update domains.php

FusionPBX 7 years ago
parent
commit
1eaa65bd58
1 changed files with 0 additions and 8 deletions
  1. 0 8
      resources/classes/domains.php

+ 0 - 8
resources/classes/domains.php

@@ -297,13 +297,6 @@ if (!class_exists('domains')) {
 					//get the context
 					//get the context
 						$context = $domain_name;
 						$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
 					//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) {
 						foreach($database_default_settings as $row) {
 							$name = $row['default_setting_name'];
 							$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
 					//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");
 						$default_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_defaults.php");
-						$display_type = $this->display_type;
 						foreach ($default_list as &$default_path) {
 						foreach ($default_list as &$default_path) {
 							include($default_path);
 							include($default_path);
 						}
 						}