function hacked_hash_local in Hacked! 6
Same name and namespace in other branches
- 5 hacked.module \hacked_hash_local()
1 call to hacked_hash_local()
File
- ./
hacked.module, line 275 - The Hacked! module, shows which project have been changed since download.
Code
function hacked_hash_local(&$project) {
// Are there other types of project we should handle?
if ($project['project_type'] == 'module' || $project['project_type'] == 'theme' || $project['project_type'] == 'core') {
if ($dir = hacked_find_local_project_directory($project)) {
$project['local_hashes'] = hacked_scan_directory_generate_hashes($dir, TRUE);
}
else {
$project['local_hashes'] = array();
}
}
}