remove WebGUI::Utility::formatBytes
This commit is contained in:
parent
42784e1b98
commit
006a5003c2
8 changed files with 13 additions and 39 deletions
|
|
@ -9,6 +9,7 @@ use WebGUI::Paginator;
|
|||
use WebGUI::Utility;
|
||||
use WebGUI::Macro::AdminBar;
|
||||
use Tie::IxHash;
|
||||
use Number::Format ();
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -651,7 +652,7 @@ sub www_search {
|
|||
revisionDate => $session->datetime->epochToHuman( $asset->get( "revisionDate" ) ),
|
||||
hasChildren => ( $asset->hasChildren ? "+ " : " " ),
|
||||
rank => $asset->getRank,
|
||||
size => formatBytes( $asset->get( 'assetSize' ) ),
|
||||
size => Number::Format::format_bytes( $asset->get( 'assetSize' ) ),
|
||||
);
|
||||
|
||||
# The asset icon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue