- fix: cs mail posts - no url prepending
- Multiple "Re:"'s on CS Mail posts are now a thing of the past. - Made mail message ids follow convention.
This commit is contained in:
parent
24ed8f3e3f
commit
e225c2276a
4 changed files with 26 additions and 15 deletions
|
|
@ -679,9 +679,6 @@ sub processPropertiesFromFormPost {
|
|||
}
|
||||
$self->getThread->subscribe if ($self->session->form->process("subscribe"));
|
||||
delete $self->{_storageLocation};
|
||||
my $storage = $self->getStorageLocation;
|
||||
my $attachmentLimit = $self->getThread->getParent->get("attachmentsPerPost");
|
||||
# $storage->addFileFromFormPost("image", $attachmentLimit) if $attachmentLimit;
|
||||
$self->postProcess;
|
||||
$self->requestCommit;
|
||||
}
|
||||
|
|
@ -900,7 +897,10 @@ sub update {
|
|||
);
|
||||
$self->SUPER::update(@_);
|
||||
if ($self->get("ownerUserId") ne $before{owner} || $self->get("groupIdEdit") ne $before{edit} || $self->get("groupIdView") ne $before{view}) {
|
||||
$self->getStorageLocation->setPrivileges($self->get("ownerUserId"),$self->get("groupIdView"),$self->get("groupIdEdit"));
|
||||
my $storage = $self->getStorageLocation;
|
||||
if (-d $storage->getPath) {
|
||||
$storage->setPrivileges($self->get("ownerUserId"),$self->get("groupIdView"),$self->get("groupIdEdit"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue