diff --git a/resources/classes/domains.php b/resources/classes/domains.php index e66ae791d7..5e0c3655ef 100644 --- a/resources/classes/domains.php +++ b/resources/classes/domains.php @@ -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); }