Simple-Home Biden vs. Trump Edition

This commit is contained in:
JonatanRek
2020-10-15 18:55:16 +02:00
parent 5d32c2bfa4
commit 740a2debf7
5 changed files with 83 additions and 7 deletions

View File

@@ -167,7 +167,7 @@ class Utilities
// Optional Authentication:
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, "username:password");
//curl_setopt($curl, CURLOPT_USERPWD, "username:password");
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

View File

@@ -87,7 +87,7 @@ class SubDeviceManager
GROUP BY subdevice_id
)
GROUP BY subdevice_id
ORDER BY type DESC
ORDER BY d.name DESC
", $roomIds);
$ret = [];