fixed a google imap import issue

This commit is contained in:
SJ 2014-04-25 10:23:07 +02:00
parent 989cd68054
commit 6c443ae8d2

View File

@ -161,9 +161,15 @@ class ModelGoogleGoogle extends Model {
private function run_import_command() {
$dir = getcwd();
chdir(DIR_IMAP);
syslog(LOG_INFO, "importing emails ...");
system(PILERIMPORT_IMAP_COMMAND, $val);
syslog(LOG_INFO, "importing emails done");
chdir($dir);
}