From: Jan-Christoph Borchardt Date: Fri, 19 Jul 2013 23:15:12 +0000 (+0200) Subject: add back public API function, but mark as deprecated X-Git-Tag: v6.0.0alpha2~434^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48267b6e6ce5bb772c86a6210ddfeac2d1dff3c6;p=nextcloud-server.git add back public API function, but mark as deprecated --- diff --git a/lib/public/template.php b/lib/public/template.php index d81a169579e..1c138671977 100644 --- a/lib/public/template.php +++ b/lib/public/template.php @@ -76,6 +76,16 @@ function relative_modified_date($timestamp) { } +/** + * @brief DEPRECATED Return a human readable outout for a file size. + * @param $byte size of a file in byte + * @returns human readable interpretation of a file size + */ +function simple_file_size($bytes) { + return(\human_file_size($bytes)); +} + + /** * @brief Generate html code for an options block. * @param $options the options