function boost_chk_module_versions in Boost 6
Check for bad versions of modules.
1 call to boost_chk_module_versions()
- boost_requirements in ./
boost.install - Implementation of hook_requirements().
File
- ./
boost.install, line 309 - Handles Boost module installation and upgrade tasks.
Code
function boost_chk_module_versions() {
// chk poormanscron
if (module_exists('poormanscron')) {
$info = unserialize(db_result(db_query("SELECT info FROM {system} WHERE name LIKE 'poormanscron'")));
if ($info['version'] == '6.x-1.0') {
return FALSE;
}
else {
return TRUE;
}
}
else {
return TRUE;
}
}