nextcloud/lib
Vincent Petry 726a202cdb Fixed getLocalFile() condition for x-send-file
Until now, addSendfileHeader() was called even when no x-send-file
headers were set. Even though the method itself doesn't do anything,
a call to getLocalFile() was done and would trigger a full download
when using external storage.

Additionally, the storage resolution code is wrong and always
returns the local storage of the root filesystem, which caused the code to
be run anyway.

This commit fixes both issues.
2013-11-20 14:33:59 +01:00
..
l10n [tx-robot] updated from transifex 2013-11-15 22:56:31 -05:00
private Fixed getLocalFile() condition for x-send-file 2013-11-20 14:33:59 +01:00
public Fix fatal error when trying to open a non existing public link 2013-11-12 15:38:00 +01:00
autoloader.php Allow null as cache parameter (if no cache was found) and for cache removal. 2013-10-22 11:17:15 +02:00
base.php add trash bin and file versions delete hooks in OC::registerPreviewHooks 2013-11-12 14:08:55 +01:00