39 return 'General Status Check';
52 return 'A basic test to get a general status and statistics on the system';
66 public static function test(&$messages, &$errors)
70 $sql =
'SELECT COUNT(*) FROM sq_ast';
72 if (!empty($result)) {
73 $messages[] =
'There are '.$result.
' asset(s) on the system';
76 $sql =
"SELECT COUNT(*) FROM sq_ast_lnk WHERE link_type<='4'";
78 if (!empty($result)) {
79 $messages[] =
'There are '.$result.
' asset link(s) on the system';