summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-08 21:51:14 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-08 21:51:14 +0000
commita89d395b51c1cb1f63a06dac5b7c64e219f2d338 (patch)
tree2a765ef45a7aa8ca1e2a038d9189984db12bfe03 /admin
parent1b2975f15284e2b3e38cffa81a39f6bcee8ccdae (diff)
downloadquota-a89d395b51c1cb1f63a06dac5b7c64e219f2d338.tar.gz
quota-a89d395b51c1cb1f63a06dac5b7c64e219f2d338.tar.bz2
quota-a89d395b51c1cb1f63a06dac5b7c64e219f2d338.zip
php: introduce new method: getPref( $package, $pref, $defaut ) (order is open for discussion
tpl: $gBitPref.package.pref applied package name to all saves - should make database more organised and should allow more reliable uninstalls in the future
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_quota_inc.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/admin/admin_quota_inc.php b/admin/admin_quota_inc.php
index 37a9ac3..bc8e441 100644
--- a/admin/admin_quota_inc.php
+++ b/admin/admin_quota_inc.php
@@ -1,12 +1,14 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_quota/admin/admin_quota_inc.php,v 1.2 2005/08/01 18:41:18 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_quota/admin/admin_quota_inc.php,v 1.3 2006/02/08 21:51:14 squareing Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// 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.
-if (isset($_REQUEST["quotaset"]) && isset($_REQUEST["homeSample"])) {
- $gBitSystem->storePreference("home_quota", $_REQUEST["homeSample"]);
- $gBitSmarty->assign('home_quota', $_REQUEST["homeSample"]);
-}
+
+// is this used?
+//if( isset( $_REQUEST["quotaset"] ) && isset( $_REQUEST["homeSample"] ) ) {
+// $gBitSystem->storePreference( "home_quota", $_REQUEST["homeSample"], QUOTA_PKG_NAME );
+// $gBitSmarty->assign( 'home_quota', $_REQUEST["homeSample"] );
+//}
require_once( QUOTA_PKG_PATH.'LibertyQuota.php' );