summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-10-29 17:52:39 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-10-29 17:52:39 +0000
commitdafea8f5bb826fba9321e08ec18ab3bdddac19e1 (patch)
tree38972700c3ba8f41981e788ab00f53d7b0e80bfc /upload.php
parentc3f5e385a887d77b974a8dee27b2373efdb6b675 (diff)
downloadfisheye-dafea8f5bb826fba9321e08ec18ab3bdddac19e1.tar.gz
fisheye-dafea8f5bb826fba9321e08ec18ab3bdddac19e1.tar.bz2
fisheye-dafea8f5bb826fba9321e08ec18ab3bdddac19e1.zip
merge recent changes into HEAD
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/upload.php b/upload.php
index 6964ddc..e2bef19 100644
--- a/upload.php
+++ b/upload.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.6 2005/08/24 20:50:17 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.7 2005/10/29 17:52:39 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -92,7 +92,8 @@ if( $gBitSystem->isPackageActive( 'quota' ) ) {
require_once( QUOTA_PKG_PATH.'LibertyQuota.php' );
$quota = new LibertyQuota();
if( !$gBitUser->isAdmin() && !$quota->isUserUnderQuota( $gBitUser->mUserId ) ) {
- $gBitSystem->fatalError( 'You are over your quota and have no space to upload new files.' );
+ $gBitSystem->display( 'bitpackage:quota/over_quota.tpl', tra( 'You are over your quota.' ) );
+ die;
}
if( !$gBitUser->isAdmin() ) {
// Prevent people from uploading more than there quota