From f7fc4b660db570cac11d957d4dff6d384507a0e8 Mon Sep 17 00:00:00 2001 From: steinm Date: Fri, 8 Feb 2013 08:07:11 +0000 Subject: [PATCH] - added comment that formatted_size() is deprecated --- inc/inc.Utils.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/inc.Utils.php b/inc/inc.Utils.php index 5d40585ef..816cc36d0 100644 --- a/inc/inc.Utils.php +++ b/inc/inc.Utils.php @@ -18,6 +18,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +/* deprecated! use LetoDMS_Core_File::format_filesize() instead */ function formatted_size($size_bytes) { /* {{{ */ if ($size_bytes>1000000000) return number_format($size_bytes/1000000000,1,".","")." GBytes"; else if ($size_bytes>1000000) return number_format($size_bytes/1000000,1,".","")." MBytes";