function og_massadd_requirements in Organic Groups Mass Add 6
Implementation of hook_requirements().
File
- ./
og_massadd.install, line 12 - Installs the og_massadd module
Code
function og_massadd_requirements($phase) {
$t = get_t();
$requirements = array();
if ($phase == "runtime") {
/*
$certificate_path = variable_get('certify_certificate_path', FALSE);
$pathreq = array('title' => $t('Certify path required'), 'description' => $t('Certificate path needs to be set to a directory writable by the webserver.'), 'severity' => REQUIREMENT_ERROR);
if (!$certificate_path || !is_dir($certificate_path)) {
$requirements['pathexists'] = $pathreq;
}
if (!is_writable($certificate_path)) {
$requirements['pathexists'] = $pathreq;
}
*/
}
return $requirements;
}