function _cdn_cron_init_stats in CDN 5
Initializes the stats array.
Return value
The stats array.
1 call to _cdn_cron_init_stats()
- cdn_cron_run in ./
cdn_cron.inc - Executes a CDN synchronization cron run when called
File
- ./
cdn_cron.inc, line 268 - Basic functions for CDN synchronization cron.
Code
function _cdn_cron_init_stats() {
$stats = array(
'deletes' => 0,
'exists' => 0,
'exists_bytes' => 0,
'uploads' => 0,
'uploads_failed' => 0,
'uploaded_bytes' => 0,
);
return $stats;
}