mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
- added comment that formatted_size() is deprecated
This commit is contained in:
parent
7a8007b62e
commit
f7fc4b660d
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user