| 7 update.manager.inc | update_manager_archive_verify($project, $archive_file, $directory) |
| 8 update.manager.inc | update_manager_archive_verify($project, $archive_file, $directory) |
Verify an archive after it has been downloaded and extracted.
This function is responsible for invoking hook_verify_update_archive().
Parameters
string $project: The short name of the project to download.
string $archive_file: The filename of the unextracted archive.
string $directory: The directory that the archive was extracted into.
Return value
array An array of error messages to display if the archive was invalid. If there are no errors, it will be an empty array.
Related topics
2 calls to update_manager_archive_verify()
File
- modules/
update/ update.manager.inc, line 794 - Administrative screens and processing functions for the update manager. This allows site administrators with the 'administer software updates' permission to either upgrade existing projects, or download and install new ones, so long as the…
Code
function update_manager_archive_verify($project, $archive_file, $directory) {
return module_invoke_all('verify_update_archive', $project, $archive_file, $directory);
}
Login or register to post comments