diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2014-10-14 00:08:55 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2014-10-14 00:15:41 +0200 |
commit | bc2ad74813b2993e1d7c076181b904b3a5c4be5f (patch) | |
tree | d1aa656dc61af31394683fb697b77feaba50b378 /include/RedDAV/RedBrowser.php | |
parent | 1eefed0333cedaf262f0dc42c7f9d4d855dfc154 (diff) | |
download | volse-hubzilla-bc2ad74813b2993e1d7c076181b904b3a5c4be5f.tar.gz volse-hubzilla-bc2ad74813b2993e1d7c076181b904b3a5c4be5f.tar.bz2 volse-hubzilla-bc2ad74813b2993e1d7c076181b904b3a5c4be5f.zip |
When you delete something in /cloud stay in the right folder.
When you deleted a file in /cloud you was always jumped back to /cloud/[channel],
now you will stay in the parent folder.
Some more doxygen documentation.
Removed duplicate data from logging output and reduced logging in RedDAV in general.
Diffstat (limited to 'include/RedDAV/RedBrowser.php')
-rw-r--r-- | include/RedDAV/RedBrowser.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/RedDAV/RedBrowser.php b/include/RedDAV/RedBrowser.php index 1f2550ac1..6ec5c978d 100644 --- a/include/RedDAV/RedBrowser.php +++ b/include/RedDAV/RedBrowser.php @@ -262,6 +262,14 @@ class RedBrowser extends DAV\Browser\Plugin { construct_page(get_app()); } + /** + * @brief Returns a human readable formatted string for filesizes. + * + * Don't we need such a functionality in other places, too? + * + * @param int $size filesize in bytes + * @return string + */ function userReadableSize($size) { $ret = ""; if (is_numeric($size)) { |