Vault fixes

This commit is contained in:
Karl Cordes 2011-09-05 14:22:28 +10:00
parent ef42c5e668
commit 6098ff2ad8

View file

@ -45,17 +45,6 @@ class VaultShell extends Shell {
}
while(true) {
$emails = scandir($vault_dir);
$processed = scandir($processed_dir);
$new = array_diff($emails, $processed);
if(count($new) == 0) {
echo "\rWaiting for new messages";
sleep(60);
continue;
}
/* Find the strings we want to look for in the subjects. Build arrays
@ -385,7 +374,7 @@ class VaultShell extends Shell {
echo "Unable to create Symlink for {$email_filename}. Critical Error! \n";
}
}
}