|
@@ 2698-2701 (lines=4) @@
|
| 2695 |
|
{ |
| 2696 |
|
//error_log(__METHOD__.' IDs:'.array2string($ids).' SaveToPath:'.$path); |
| 2697 |
|
|
| 2698 |
|
if (is_array($ids) && !Vfs::is_writable($path) || !is_array($ids) && !Vfs::is_writable(dirname($path))) |
| 2699 |
|
{ |
| 2700 |
|
return 'alert("'.addslashes(lang('%1 is NOT writable by you!',$path)).'"); Egw(window).close();'; |
| 2701 |
|
} |
| 2702 |
|
Api\Translation::add_app('mail'); |
| 2703 |
|
|
| 2704 |
|
$rememberServerID = $this->mail_bo->profileID; |
|
@@ 2772-2775 (lines=4) @@
|
| 2769 |
|
{ |
| 2770 |
|
//error_log(__METHOD__.__LINE__.'("'.array2string($ids).'","'.$path."\")');"); |
| 2771 |
|
|
| 2772 |
|
if (is_array($ids) && !Vfs::is_writable($path) || !is_array($ids) && !Vfs::is_writable(dirname($path))) |
| 2773 |
|
{ |
| 2774 |
|
return 'alert("'.addslashes(lang('%1 is NOT writable by you!',$path)).'"); Egw(window).close();'; |
| 2775 |
|
} |
| 2776 |
|
$err=null; |
| 2777 |
|
$dupe_count = array(); |
| 2778 |
|
$rememberServerID = $this->mail_bo->profileID; |