hg/feature/cdb-packed
kaetemi 11 years ago
commit 7a62843aee

@ -436,7 +436,7 @@ class Users{
try { try {
$dbl = new DBLayer("lib"); $dbl = new DBLayer("lib");
$dbl->insert("ams_querycache", array("type" => "change_pass", $dbl->insert("ams_querycache", array("type" => "change_pass",
"query" => json_encode(array($values["user"],$values["pass"])), "db" => "shard")); "query" => json_encode(array($user,$pass)), "db" => "shard"));
return "shardoffline"; return "shardoffline";
}catch (PDOException $e) { }catch (PDOException $e) {
return "liboffline"; return "liboffline";
@ -466,7 +466,7 @@ class Users{
try { try {
$dbl = new DBLayer("lib"); $dbl = new DBLayer("lib");
$dbl->insert("ams_querycache", array("type" => "change_mail", $dbl->insert("ams_querycache", array("type" => "change_mail",
"query" => json_encode(array($values["user"],$values["mail"])), "db" => "shard")); "query" => json_encode(array($user,$mail)), "db" => "shard"));
return "shardoffline"; return "shardoffline";
}catch (PDOException $e) { }catch (PDOException $e) {
return "liboffline"; return "liboffline";

Loading…
Cancel
Save