|
@@ 2708-2711 (lines=4) @@
|
| 2705 |
|
{ |
| 2706 |
|
//error_log(__METHOD__.' IDs:'.array2string($ids).' SaveToPath:'.$path); |
| 2707 |
|
|
| 2708 |
|
if (is_array($ids) && !Vfs::is_writable($path) || !is_array($ids) && !Vfs::is_writable(dirname($path))) |
| 2709 |
|
{ |
| 2710 |
|
return 'alert("'.addslashes(lang('%1 is NOT writable by you!',$path)).'"); Egw(window).close();'; |
| 2711 |
|
} |
| 2712 |
|
Api\Translation::add_app('mail'); |
| 2713 |
|
|
| 2714 |
|
$rememberServerID = $this->mail_bo->profileID; |
|
@@ 2782-2785 (lines=4) @@
|
| 2779 |
|
{ |
| 2780 |
|
//error_log(__METHOD__.__LINE__.'("'.array2string($ids).'","'.$path."\")');"); |
| 2781 |
|
|
| 2782 |
|
if (is_array($ids) && !Vfs::is_writable($path) || !is_array($ids) && !Vfs::is_writable(dirname($path))) |
| 2783 |
|
{ |
| 2784 |
|
return 'alert("'.addslashes(lang('%1 is NOT writable by you!',$path)).'"); Egw(window).close();'; |
| 2785 |
|
} |
| 2786 |
|
$err=null; |
| 2787 |
|
$dupe_count = array(); |
| 2788 |
|
$rememberServerID = $this->mail_bo->profileID; |