No need to remove old caches anymore
authorJamie Cameron <jcameron@webmin.com>
Fri, 26 Dec 2008 00:40:23 +0000 (00:40 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 26 Dec 2008 00:40:23 +0000 (00:40 +0000)
mailboxes/boxes-lib.pl

index 0d68187..608a597 100644 (file)
@@ -2040,9 +2040,6 @@ foreach $d ("$_[0]/cur", "$_[0]/new") {
 sub get_maildir_cachefile
 {
 local ($dir) = @_;
-local $oldcache = -r "$dir/maildircache" ? "$dir/maildircache"
-                                        : "$dir/.usermin-maildircache";
-unlink($oldcache); 
 local $cd = $user_module_config_directory || $module_config_directory;
 local $sd = "$cd/maildircache";
 if (!-d $sd) {