]> source.dussan.org Git - nextcloud-server.git/commit
Fixed storage stats to be based on current directory
authorVincent Petry <pvince81@owncloud.com>
Wed, 6 Nov 2013 09:55:19 +0000 (10:55 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 19 Nov 2013 10:05:05 +0000 (11:05 +0100)
commit5e6ea1565af95298a7cae39df561aa01d74b4862
tree44be29ccf392c0d474468e67b5d5cef06fcee105
parenta84b6b38477eaf08784f0485df777525425280bf
Fixed storage stats to be based on current directory

Previously, the storage statistics were always for the root dir.
This means that the upload button would always show the limit for the
root dir, even when uploading to a shared dir or external storage.

This fix adds a "dir" argument to getstoragestats.php.

Partial backport of 31181e4348b9af2625cf4d6ad38cf4cd81db3c1f
apps/files/ajax/getstoragestats.php
apps/files/js/files.js