fix errors reported by Facebook's scheck

This commit is contained in:
Martin Konecny 2013-05-28 17:30:48 -04:00
parent 73a908055a
commit 4ed7c4ccd3
8 changed files with 16 additions and 10 deletions

View file

@ -125,6 +125,7 @@ class Application_Model_Systemstatus
public static function GetPlatformInfo()
{
$keys = array("release", "machine", "memory", "swap");
$data = array();
foreach ($keys as $key) {
$data[$key] = "UNKNOWN";
}
@ -212,7 +213,7 @@ class Application_Model_Systemstatus
public static function GetDiskInfo()
{
$partions = array();
$partitions = array();
/* First lets get all the watched directories. Then we can group them
* into the same partitions by comparing the partition sizes. */