function hackedProject::download_remote_project in Hacked! 6.2
Same name and namespace in other branches
- 7.2 includes/hackedProject.inc \hackedProject::download_remote_project()
Downloads the remote project to be hashed later.
2 calls to hackedProject::download_remote_project()
- hackedProject::file_get_location in includes/
hacked_project.inc - hackedProject::hash_remote_project in includes/
hacked_project.inc - Hashes the remote project downloaded earlier.
File
- includes/
hacked_project.inc, line 99
Class
- hackedProject
- Ensapsulates a Hacked! project.
Code
function download_remote_project() {
// Only do this once, no matter how many times we're called.
if (!empty($this->remote_downloaded)) {
return;
}
$this
->identify_project();
$this->remote_files_downloader
->download();
$this->remote_downloaded = TRUE;
}