diff options
author | Simon Rettberg | 2022-01-12 17:07:42 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-03-09 15:06:54 +0100 |
commit | 1bdf3d4ce66910f07842c7be1043938bccf0a462 (patch) | |
tree | d6a4e1f0185687c224e4a3a901186fe3b0cbd3d9 /modules-available/statistics/hooks/config-tgz.inc.php | |
parent | api: Don't use mb_strtolower (diff) | |
download | slx-admin-1bdf3d4ce66910f07842c7be1043938bccf0a462.tar.gz slx-admin-1bdf3d4ce66910f07842c7be1043938bccf0a462.tar.xz slx-admin-1bdf3d4ce66910f07842c7be1043938bccf0a462.zip |
[statistics] Make query builder a bit more OOP
Diffstat (limited to 'modules-available/statistics/hooks/config-tgz.inc.php')
-rw-r--r-- | modules-available/statistics/hooks/config-tgz.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/hooks/config-tgz.inc.php b/modules-available/statistics/hooks/config-tgz.inc.php index 0a43e115..b732fd7a 100644 --- a/modules-available/statistics/hooks/config-tgz.inc.php +++ b/modules-available/statistics/hooks/config-tgz.inc.php @@ -4,7 +4,7 @@ $res = Database::simpleQuery('SELECT h.hwname FROM statistic_hw h' . " INNER JOIN statistic_hw_prop p ON (h.hwid = p.hwid AND p.prop = :projector)" . " WHERE h.hwtype = :screen ORDER BY h.hwname ASC", array( 'projector' => 'projector', - 'screen' => DeviceType::SCREEN, + 'screen' => HardwareInfo::SCREEN, )); if ($res !== false) { // CHeck this in case we're running on old DB during update |