function apps_clear_update_disk_cache in Apps 7
Delete the update cache directories so clean update is run.
2 calls to apps_clear_update_disk_cache()
- apps_app_install in ./
apps.pages.inc - Callback for app install TODO: check to see the app is install able and then install TODO: should goto config page but pass on the current destination NOTE: it is expected that this page would be called with a drupal desination set
- apps_app_update in ./
apps.pages.inc - Callback for app update.
File
- ./
apps.installer.inc, line 380 - installer.inc hold all of the function used to download apps and thier deps
Code
function apps_clear_update_disk_cache() {
file_unmanaged_delete_recursive(_update_manager_cache_directory(FALSE));
file_unmanaged_delete_recursive(_update_manager_extract_directory(FALSE));
// Recreate the directories.
_update_manager_cache_directory();
_update_manager_extract_directory();
}