Fetch attachment folder for the correct user during cron job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
backportbot-nextcloud[bot]
parent
b686cae095
commit
c46ca8a03a
@@ -102,7 +102,7 @@ class Listener {
|
||||
}
|
||||
}
|
||||
|
||||
$parent = $this->configService->getAttachmentFolder();
|
||||
$parent = $this->configService->getAttachmentFolder($userId);
|
||||
$event->setParent($parent);
|
||||
if (!$event->getView()->is_dir($parent)) {
|
||||
$event->getView()->mkdir($parent);
|
||||
|
||||
Reference in New Issue
Block a user