Browse Source

Update database.php

FusionPBX 6 years ago
parent
commit
4b556de024
1 changed files with 1 additions and 3 deletions
  1. 1 3
      core/authentication/resources/classes/plugins/database.php

+ 1 - 3
core/authentication/resources/classes/plugins/database.php

@@ -52,9 +52,7 @@ class plugin_database {
 				//$sql .= "and domain_uuid = '".$this->domain_uuid."' ";
 				//$sql .= "and domain_uuid = '".$this->domain_uuid."' ";
 			}
 			}
 			$sql .= "and (user_enabled = 'true' or user_enabled is null) ";
 			$sql .= "and (user_enabled = 'true' or user_enabled is null) ";
-			//echo $sql."<br />\n";
-			//echo "domain name: ".$this->domain_name;
-			$prep_statement = $db->prepare(check_sql($sql));
+			$prep_statement = $db->prepare($sql);
 			if ($_SESSION["users"]["unique"]["text"] != "global") {
 			if ($_SESSION["users"]["unique"]["text"] != "global") {
 				$prep_statement->bindParam(':domain_uuid', $this->domain_uuid);
 				$prep_statement->bindParam(':domain_uuid', $this->domain_uuid);
 			}
 			}