++
Исправлены баги с рассылкой и размножением сообщений.
This commit is contained in:
@@ -26,8 +26,7 @@ public class ArchivesBackupPass extends ConnectionPass<File> {
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
String workspace_path = Utils_.toU(Paths.get(user.connection.sftpChannel.getHome(), Global.componentsServerProperties.BackupWorkspace).toString());
|
||||
RemoteFile workspace = new RemoteFile(workspace_path, true);
|
||||
RemoteFile workspace = new RemoteFile(user.connection.sftpChannel.getHome(), "_sapfor_x64_backups", true);
|
||||
user.connection.MKDIR(workspace);
|
||||
RemoteFile dst = new RemoteFile(workspace.full_name, src.getName());
|
||||
user.connection.putSingleFile(src, dst);
|
||||
|
||||
@@ -90,7 +90,6 @@ public class PublishComponent extends ComponentsServerPass<Component> {
|
||||
if (f.fields.cbForceMail.isSelected())
|
||||
message.addAttachement(target.getFile());
|
||||
//--
|
||||
//todo потом сделать красивее. на сторону сервера это безобразие
|
||||
Pass unsafeEmail = new Email(){
|
||||
@Override
|
||||
public String getDescription() {
|
||||
|
||||
Reference in New Issue
Block a user