steffen: server/kolab/kolab kolabquotawarn,1.4,1.5

cvs at intevation.de cvs at intevation.de
Thu Oct 21 02:57:09 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab/kolab
In directory doto:/tmp/cvs-serv31814/kolab

Modified Files:
	kolabquotawarn 
Log Message:
shut up this script

Index: kolabquotawarn
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/kolabquotawarn,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- kolabquotawarn	3 Aug 2004 11:25:57 -0000	1.4
+++ kolabquotawarn	21 Oct 2004 00:57:07 -0000	1.5
@@ -87,6 +87,7 @@
     exit 1;
 }
 
+my $verbose = 0;
 my $prefix = $Kolab::config{'prefix'};
 my $warninterval = 60*60*24; # seconds between warnings
 my $warnmessage = '';
@@ -169,7 +170,7 @@
   }
 }
 
-mylog( $syslog_priority, "starting up");
+mylog( $syslog_priority, "starting up") if $verbose;
 
 ### Connect to Cyrus
 my $cyrus = Cyrus::IMAP::Admin->new('localhost');
@@ -185,4 +186,4 @@
 #print "\nSHARED FOLDERS:\n---------------\n";
 #kolablistquotas( $cyrus, 'user.*', '*', 80 );
 
-mylog( $syslog_priority, "shutting down");
+mylog( $syslog_priority, "shutting down") if $verbose;





More information about the commits mailing list