10 assert(array_key_exists(
'summary',
$croninfo));
11 assert(array_key_exists(
'tag',
$croninfo));
18 $cronTag = $sconfig->getString(
'cron_tag', null);
19 if ($cronTag === null || $cronTag !==
$croninfo[
'tag']) {
34 $croninfo[
'summary'][] =
'Sanitycheck error: ' . $err;
39 $croninfo[
'summary'][] =
'Error executing sanity check: ' . $e->getMessage();
sanitycheck_hook_cron(&$croninfo)
Hook to run a cron job.
static callHooks($hook, &$data=null)
Call a hook in all enabled modules.
static getOptionalConfig($filename='config.php', $configSet='simplesaml')
Load a configuration file from a configuration set.