Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-05-08 14:48:48 +0300
committerRobin Appelman <robin@icewind.nl>2019-05-08 14:48:48 +0300
commit8951bb1f64a7e094f6dffc8157c66cd2f0c178e8 (patch)
treecb0d4cd500451c89c8e078ec4ac9b853062a6f8f
parent0d702afb658e860a32c7fe0cee2d38dd2f710213 (diff)
remove php 7.1 only syntax
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/Trash/TrashBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Trash/TrashBackend.php b/lib/Trash/TrashBackend.php
index c40d78cc..96fdff91 100644
--- a/lib/Trash/TrashBackend.php
+++ b/lib/Trash/TrashBackend.php
@@ -131,7 +131,7 @@ class TrashBackend implements ITrashBackend {
$trashStorage = $trashFolder->getStorage();
$time = time();
$trashName = $name . '.d' . $time;
- [$unJailedStorage, $unJailedInternalPath] = $this->unwrapJails($storage, $internalPath);
+ list($unJailedStorage, $unJailedInternalPath) = $this->unwrapJails($storage, $internalPath);
$targetInternalPath = $trashFolder->getInternalPath() . '/' . $trashName;
if ($trashStorage->moveFromStorage($unJailedStorage, $unJailedInternalPath, $targetInternalPath)) {
$this->trashManager->addTrashItem($folderId, $name, $time, $internalPath);