|
@@ 2563-2566 (lines=4) @@
|
| 2560 |
|
{ |
| 2561 |
|
//error_log(__METHOD__.' IDs:'.array2string($ids).' SaveToPath:'.$path); |
| 2562 |
|
|
| 2563 |
|
if (is_array($ids) && !Vfs::is_writable($path) || !is_array($ids) && !Vfs::is_writable(dirname($path))) |
| 2564 |
|
{ |
| 2565 |
|
return 'alert("'.addslashes(lang('%1 is NOT writable by you!',$path)).'"); Egw(window).close();'; |
| 2566 |
|
} |
| 2567 |
|
Api\Translation::add_app('mail'); |
| 2568 |
|
|
| 2569 |
|
$rememberServerID = $this->mail_bo->profileID; |
|
@@ 2637-2640 (lines=4) @@
|
| 2634 |
|
{ |
| 2635 |
|
//error_log(__METHOD__.__LINE__.'("'.array2string($ids).'","'.$path."\")');"); |
| 2636 |
|
|
| 2637 |
|
if (is_array($ids) && !Vfs::is_writable($path) || !is_array($ids) && !Vfs::is_writable(dirname($path))) |
| 2638 |
|
{ |
| 2639 |
|
return 'alert("'.addslashes(lang('%1 is NOT writable by you!',$path)).'"); Egw(window).close();'; |
| 2640 |
|
} |
| 2641 |
|
$err=null; |
| 2642 |
|
$dupe_count = array(); |
| 2643 |
|
$rememberServerID = $this->mail_bo->profileID; |