summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-17 13:02:34 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-17 13:02:34 +0000
commit4bbeb6883ba4deab91f5c48c81e4641c4d039539 (patch)
tree7ee78257659c01ccbd6b9417315639974bce436d
parentbae05933ff1fa20b5f57a232121aba40ca3f12c7 (diff)
downloadwordpress-mu-4bbeb6883ba4deab91f5c48c81e4641c4d039539.tar.gz
wordpress-mu-4bbeb6883ba4deab91f5c48c81e4641c4d039539.tar.xz
wordpress-mu-4bbeb6883ba4deab91f5c48c81e4641c4d039539.zip
Use get_space_allowed(), props ktlee, fixes #449
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1085 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-includes/wpmu-functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index 5d1a31a..a91d39e 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -1643,7 +1643,7 @@ function upload_is_user_over_quota( $echo = true ) {
global $wpdb;
// Default space allowed is 10 MB
- $spaceAllowed = get_site_option("blog_upload_space");
+ $spaceAllowed = get_space_allowed();
if(empty($spaceAllowed) || !is_numeric($spaceAllowed)) $spaceAllowed = 10;
$dirName = constant( "ABSPATH" ) . constant( "UPLOADS" );