>>229 well, another simple solution is to add
$archive = 0 unless($admin);
in delete_stuff after
$password="" if ($admin);