This commit is contained in:
laf
2015-10-26 11:08:19 +00:00
918 changed files with 32655 additions and 6789 deletions
+1 -3
View File
@@ -19,9 +19,7 @@ foreach (dbFetchRows('SELECT * FROM storage WHERE device_id = ?', array($device[
// FIXME Generic poller goes here if we ever have a discovery module which uses it.
}
if ($debug) {
print_r($storage);
}
d_echo($storage);
if ($storage['size']) {
$percent = round(($storage['used'] / $storage['size'] * 100));