[Pkg-owncloud-commits] [owncloud] 223/258: check if I can create a file at the location
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit d222d2b73f777aa2cd016af87f7e1d2e744efef1
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Wed Oct 8 10:56:06 2014 +0200
check if I can create a file at the location
---
apps/files_trashbin/lib/trashbin.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index 492a0e3..121f8f7 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -339,7 +339,7 @@ class Trashbin {
// if location no longer exists, restore file in the root directory
if ($location !== '/' &&
(!$view->is_dir('files' . $location) ||
- !$view->isUpdatable('files' . $location))
+ !$view->isCreatable('files' . $location))
) {
$location = '';
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list