Browse Source

Remove domain_name variable from the extension which hurts single tenant systems.

Mark Crane 12 năm trước cách đây
mục cha
commit
1311b4fb6a
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      includes/lib_switch.php

+ 0 - 1
includes/lib_switch.php

@@ -1803,7 +1803,6 @@ function save_extension_xml() {
 					$xml .= "    </params>\n";
 					$xml .= "    </params>\n";
 					$xml .= "    <variables>\n";
 					$xml .= "    <variables>\n";
 					$xml .= "      <variable name=\"domain_uuid\" value=\"" . $_SESSION['domain_uuid'] . "\"/>\n";
 					$xml .= "      <variable name=\"domain_uuid\" value=\"" . $_SESSION['domain_uuid'] . "\"/>\n";
-					$xml .= "      <variable name=\"domain_name\" value=\"" . $_SESSION['domain_name'] . "\"/>\n";
 					if (strlen($row['call_group']) > 0) {
 					if (strlen($row['call_group']) > 0) {
 						$xml .= "      <variable name=\"call_group\" value=\"" . $row['call_group'] . "\"/>\n";
 						$xml .= "      <variable name=\"call_group\" value=\"" . $row['call_group'] . "\"/>\n";
 					}
 					}