add back public API function, but mark as deprecated
This commit is contained in:
parent
48948ccf5f
commit
48267b6e6c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue