Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Jan 9, 2014
1 parent e26c751 commit b608353
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion plugins/Installation/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,18 @@ public static function getSystemInformation()

// check if filesystem is NFS, if it is file based sessions won't work properly
$infos['is_nfs'] = Filesystem::checkIfFileSystemIsNFS();
$infos = self::enrichSystemChecks($infos);

return $infos;
}


/**
* @param $infos
* @return mixed
*/
public static function enrichSystemChecks($infos)
{
// determine whether there are any errors/warnings from the checks done above
$infos['has_errors'] = false;
$infos['has_warnings'] = false;
Expand All @@ -909,7 +920,6 @@ public static function getSystemInformation()
) {
$infos['has_warnings'] = true;
}

return $infos;
}

Expand Down

0 comments on commit b608353

Please sign in to comment.