From 83eca7ae8a2d81be169d5a8837a37352b1829720 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 10 Mar 2015 10:47:25 +0000 Subject: [PATCH] A little more work to get rid of the default context. --- resources/classes/domains.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/resources/classes/domains.php b/resources/classes/domains.php index 553155c3ae..dcc161d73c 100644 --- a/resources/classes/domains.php +++ b/resources/classes/domains.php @@ -190,11 +190,7 @@ } //set the context - if (count($_SESSION["domains"]) > 1) { - $_SESSION["context"] = $_SESSION["domain_name"]; - } else { - $_SESSION["context"] = 'default'; - } + $_SESSION["context"] = $_SESSION["domain_name"]; //recordings add the domain to the path if there is more than one domains if (count($_SESSION["domains"]) > 1) { @@ -289,12 +285,7 @@ $domain_name = $row["domain_name"]; //get the context - if ($domain_count == 1) { - $context = "default"; - } - else { - $context = $domain_name; - } + $context = $domain_name; //show the domain when display_type is set to text if ($display_type == "text") {