diff options
author | Simon Rettberg | 2017-05-11 15:12:17 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-11 15:12:17 +0200 |
commit | 0997b56bfa259a11c178398d66f9a11faec230fd (patch) | |
tree | 6a99c5fefacdb6769339070bb968f6a88b7162e1 /modules-available/sysconfig | |
parent | [rebootcontrol] Don't show clients that haven't been seen for more than 30 days (diff) | |
download | slx-admin-0997b56bfa259a11c178398d66f9a11faec230fd.tar.gz slx-admin-0997b56bfa259a11c178398d66f9a11faec230fd.tar.xz slx-admin-0997b56bfa259a11c178398d66f9a11faec230fd.zip |
[sysconfig] Remove redundant/dead code
Diffstat (limited to 'modules-available/sysconfig')
-rw-r--r-- | modules-available/sysconfig/api.inc.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules-available/sysconfig/api.inc.php b/modules-available/sysconfig/api.inc.php index 556e99f3..d6cdc0e6 100644 --- a/modules-available/sysconfig/api.inc.php +++ b/modules-available/sysconfig/api.inc.php @@ -57,12 +57,7 @@ while ($r = $res->fetch(PDO::FETCH_ASSOC)) { if ($row === false) { // TODO Not found in DB - deliverEmpty("No config.tgz for location $locationId found"); -} - -if (!file_exists($row['filepath'])) { - // TODO Does not exist - deliverEmpty(); + deliverEmpty("No config.tgz for location $locationId found (src $ip)"); } Header('Content-Type: application/gzip'); |