]> source.dussan.org Git - nextcloud-server.git/commit
Catch exceptions when moving files
authorVincent Petry <pvince81@owncloud.com>
Fri, 5 Sep 2014 12:54:06 +0000 (14:54 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 5 Sep 2014 12:54:06 +0000 (14:54 +0200)
commite43c9b84c42a8b3f4fb25a950123fbcc060d1a5a
tree72d6d140c5f08e06201567e53c425b761b20ee49
parent1a7df3323391f6d6f7ef04de2687b3a566ab6351
Catch exceptions when moving files

When moving files on storages that don't expose permissions, the storage
itself might throw an exception when the permission is denied.

This fix ensures that exceptions are caught and forwarded to the client
instead of just hanging.
apps/files/ajax/move.php