mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Some minor changes of Automation system
This commit is contained in:
1 parent
aa8235c1bf
commit
b1e19dd64d
12 files changed
+106
-64
No files matched your search
@@ -19,6 +19,10 @@ class Db{
|
||||
}
|
||||
}
|
||||
|
||||
public static function disconect(){
|
||||
self::$join = null;
|
||||
}
|
||||
|
||||
public static function loadOne ($sql, $values = array (), $numberKey = false) {
|
||||
$answer = self::$join->prepare ($sql);
|
||||
$answer->execute ($values);
|
||||
|
||||
Reference in new issue
Block a user