steffen: server/kolab-webadmin/kolab-webadmin/www/admin/service index.php, 1.15, 1.16

cvs at intevation.de cvs at intevation.de
Wed Mar 2 12:02:39 CET 2005


Author: steffen

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/service
In directory doto:/tmp/cvs-serv24838/kolab-webadmin/www/admin/service

Modified Files:
	index.php 
Log Message:
Issue672 (virusalert at domain.tld added)

Index: index.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/service/index.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- index.php	21 Jan 2005 11:29:47 -0000	1.15
+++ index.php	2 Mar 2005 11:02:37 -0000	1.16
@@ -90,7 +90,7 @@
   if( !$dn ) {
 	$errors[] = _("No account found for email address $mail");
   } else {
-	foreach( array( 'postmaster', 'hostmaster', 'abuse' ) as $group ) {
+	foreach( array( 'postmaster', 'hostmaster', 'abuse', 'virusalert' ) as $group ) {
 	  $attrs = array( 'objectClass' => array( 'top', 'kolabGroupOfNames' ),
 					  'cn' => $group,
 					  'member' => $dn );
@@ -251,9 +251,10 @@
 
 $smarty->assign( 'systemaliasconf', false );
 if( $auth->group() == 'admin' ) {
-  if( !exists_group( "hostmaster" ) ||
-	  !exists_group( "postmaster" ) ||
-	  !exists_group( "abuse" ) ) {
+  if( !exists_group( 'hostmaster' ) ||
+	  !exists_group( 'postmaster' ) ||
+	  !exists_group( 'abuse' ) ||
+	  !exists_group( 'virusalert' ) ) {
 	// Ok, user did not set up system aliases
 	$smarty->assign( 'systemaliasconf', true );
   }





More information about the commits mailing list