[vhffs-dev] [817] moved default_quota into group area instead of users area

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 817
Author:   gradator
Date:     2007-08-30 02:04:01 +0000 (Thu, 30 Aug 2007)

Log Message:
-----------
moved default_quota into group area instead of users area

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Group.pm
    trunk/vhffs-backend/conf/vhffs.conf.dist.in


Modified: trunk/vhffs-api/src/Vhffs/Group.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Group.pm	2007-08-30 01:56:43 UTC (rev 816)
+++ trunk/vhffs-api/src/Vhffs/Group.pm	2007-08-30 02:04:01 UTC (rev 817)
@@ -78,7 +78,7 @@
         }
     }
 
-    my $groupconf = $main->get_config->get_users;
+    my $groupconf = $main->get_config->get_group;
     my $group;
 
     my $dbh = $main->get_db_object;

Modified: trunk/vhffs-backend/conf/vhffs.conf.dist.in
===================================================================
--- trunk/vhffs-backend/conf/vhffs.conf.dist.in	2007-08-30 01:56:43 UTC (rev 816)
+++ trunk/vhffs-backend/conf/vhffs.conf.dist.in	2007-08-30 02:04:01 UTC (rev 817)
@@ -90,7 +90,6 @@
 		#URL to the statistics
 		stats_url		=	http://stats.hoster
 
-
 		phpmyadmin_url		=	http://phpmyadmin.hoster
 		phppgadmin_url		=	http://phppgadmin.hoster
 
@@ -99,6 +98,7 @@
 
 		#Use the public section of VHFFS
 		use_public		=	yes
+
 		#The URL to the public part
 		url_public		=	http://projects.vhffs.org/
 
@@ -157,7 +157,6 @@
 <users>
 	minuid			=	@MINUID@
 	mingid			=	@MINGID@
-	default_quota		=	50
 	bad_username_file	=	@CONFDIR@/bl_username
 	bad_groupname_file	=	@CONFDIR@/bl_groupname
 	available_shells	=	/bin/bash /bin/tcsh /bin/zsh /bin/tuxshell
@@ -170,6 +169,7 @@
 <group>
 	# URL to the documentation (optional)
 	url_doc		=	http://help.myhoster.net/group
+	default_quota	=	100
 </group>
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/