Some minor changes of Automation system

This commit is contained in:
JonatanRek
2019-08-25 14:07:01 +02:00
parent aa8235c1bf
commit b1e19dd64d
12 changed files with 106 additions and 64 deletions

View File

@@ -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);