summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2005-08-08 07:15:30 +0000
committerLester Caine <lester@lsces.co.uk>2005-08-08 07:15:30 +0000
commit0c2a36dce7017e626eae232113ca99711883a7af (patch)
tree2bd8e2b7c32094a556991f25a01f0b8860c9f89b
parentc4ed08409544d41857396b28780abf0ada43be96 (diff)
downloadquota-R104.tar.gz
quota-R104.tar.bz2
quota-R104.zip
*** empty log message ***R1_LASTMERGER104
-rw-r--r--LibertyQuota.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/LibertyQuota.php b/LibertyQuota.php
index 598d5b9..d6a02f6 100644
--- a/LibertyQuota.php
+++ b/LibertyQuota.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_quota/LibertyQuota.php,v 1.1.1.1.2.5 2005/08/07 16:25:53 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_quota/LibertyQuota.php,v 1.1.1.1.2.6 2005/08/08 07:15:30 lsces Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: LibertyQuota.php,v 1.1.1.1.2.5 2005/08/07 16:25:53 lsces Exp $
+ * $Id: LibertyQuota.php,v 1.1.1.1.2.6 2005/08/08 07:15:30 lsces Exp $
* @package quota
*/
@@ -28,7 +28,7 @@ require_once( LIBERTY_PKG_PATH.'LibertyAttachable.php' );
*
* @author spider <spider@steelsun.com>
*
- * @version $Revision: 1.1.1.1.2.5 $ $Date: 2005/08/07 16:25:53 $ $Author: lsces $
+ * @version $Revision: 1.1.1.1.2.6 $ $Date: 2005/08/08 07:15:30 $ $Author: lsces $
*/
class LibertyQuota extends LibertyBase {
/**
@@ -155,7 +155,7 @@ class LibertyQuota extends LibertyBase {
**/
function assignQuotaToGroup( $pQuotaId, $pGroupId ) {
if( is_numeric( $pQuotaId ) && is_numeric( $pGroupId ) ) {
- $hasRow = $this->GetOne( 'SELECT `quota_id` FROM `'.BIT_DB_PREFIX.'tiki_quotas_group_map` WHERE `group_id`=?',array( $pGroupId ) );
+ $hasRow = $this->mDb->getOne( 'SELECT `quota_id` FROM `'.BIT_DB_PREFIX.'tiki_quotas_group_map` WHERE `group_id`=?',array( $pGroupId ) );
if( $hasRow ) {
$query = 'UPDATE `'.BIT_DB_PREFIX.'tiki_quotas_group_map` SET `quota_id`=? WHERE `group_id`=?';
$rs = $this->mDb->query( $query, array( $pQuotaId, $pGroupId ) );