diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-10-29 17:52:39 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-10-29 17:52:39 +0000 |
| commit | dafea8f5bb826fba9321e08ec18ab3bdddac19e1 (patch) | |
| tree | 38972700c3ba8f41981e788ab00f53d7b0e80bfc /upload.php | |
| parent | c3f5e385a887d77b974a8dee27b2373efdb6b675 (diff) | |
| download | fisheye-dafea8f5bb826fba9321e08ec18ab3bdddac19e1.tar.gz fisheye-dafea8f5bb826fba9321e08ec18ab3bdddac19e1.tar.bz2 fisheye-dafea8f5bb826fba9321e08ec18ab3bdddac19e1.zip | |
merge recent changes into HEAD
Diffstat (limited to 'upload.php')
| -rw-r--r-- | upload.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
