mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 13:23:40 +01:00
Show > 100% blog space used in MS Right Now.
git-svn-id: https://develop.svn.wordpress.org/trunk@14327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f049bc949c
commit
5f0218032f
@ -445,9 +445,6 @@ function display_space_usage() {
|
||||
$space = get_space_allowed();
|
||||
$used = get_dirsize( BLOGUPLOADDIR ) / 1024 / 1024;
|
||||
|
||||
if ( $used > $space )
|
||||
$percentused = '100';
|
||||
else
|
||||
$percentused = ( $used / $space ) * 100;
|
||||
|
||||
if ( $space > 1000 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user