Hy,
thank you for the code!
I'll try it on my testboard and will give you feedback.
One question:
If i "hard-delete" the threads, than i won't need the line for the attachments?
PHP Code:
global $vbulletin, $db;
require_once(DIR . '/includes/functions_databuild.php');
$deleted = false;
$curtime = TIMENOW;
$physicaldel = true;
$del_user = $fetch_userinfo(1);
$delinfo = array(
'userid' => $del_user['1'],
'username' => $del_user['Chris'],
'reason' => 'Thread auto-deleted via cron.',
);
kr Chris