Returns the info array as it is stored in {system}.
$name: The name of the record in {system}.
$type: The type of record in {system}.
Array of info, or FALSE if the record is not found.
function getSystemInfo($name, $type) {
$raw_info = db_query("SELECT info FROM {system} WHERE name = :name AND type = :type", array(
':name' => $name,
':type' => $type,
))
->fetchField();
return $raw_info ? unserialize($raw_info) : FALSE;
}