function user_delete_backup_scan_expired in User Delete 5
Same name and namespace in other branches
- 6 user_delete.module \user_delete_backup_scan_expired()
Scan for and delete expired files
1 call to user_delete_backup_scan_expired()
- user_delete_cron in ./
user_delete.module - Implementation of hook_cron().
File
- ./
user_delete.module, line 267 - User delete - Let users delete their own account.
Code
function user_delete_backup_scan_expired() {
// check for directory
$dir = USER_DELETE_FILE_PATH;
if (file_check_directory($dir, TRUE)) {
file_scan_directory($dir, '.*', array(
'.',
'..',
'CVS',
), 'user_delete_backup_remove_expired', FALSE);
}
}