Vault fixes
This commit is contained in:
parent
ef42c5e668
commit
6098ff2ad8
13
vendors/shells/vault.php
vendored
13
vendors/shells/vault.php
vendored
|
|
@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue