瀏覽代碼

Update domains.php

FusionPBX 7 年之前
父節點
當前提交
5a37a19b0e
共有 1 個文件被更改,包括 0 次插入15 次删除
  1. 0 15
      core/domain_settings/domains.php

+ 0 - 15
core/domain_settings/domains.php

@@ -112,21 +112,6 @@
 		$order = check_str($_GET["order"]);
 	}
 
-//rebuild the domains session array
-	unset($_SESSION["domains"]);
-	$sql = "select * from v_domains ";
-	$sql .= "order by v_domains asc; ";
-	$prep_statement = $db->prepare($sql);
-	$prep_statement->execute();
-	$domains = $prep_statement->fetchAll(PDO::FETCH_NAMED);
-	unset($prep_statement);
-	if (is_array($domains)) { 
-		foreach($domains as $row) {
-			$_SESSION['domains'][$row['domain_uuid']] = $row;
-		}
-		unset($domains);
-	}
-
 //prepare to page the results
 	$sql = "select count(*) as num_rows from v_domains ";
 	if (strlen($search) > 0) {