From a204303e5099dcb88e5e4760a09e7de9a96c4ea3 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Fri, 17 Oct 2014 08:05:51 -0400
Subject: [PATCH] moved "function send_notification_email" from 300-quota_notify.inc.php to monitor_tools.inc.php

---
 server/lib/classes/cron.d/200-logfiles.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/classes/cron.d/200-logfiles.inc.php b/server/lib/classes/cron.d/200-logfiles.inc.php
index 19b5b50..a802ff9 100644
--- a/server/lib/classes/cron.d/200-logfiles.inc.php
+++ b/server/lib/classes/cron.d/200-logfiles.inc.php
@@ -125,7 +125,7 @@
 				}
 				
 				// compress current logfile
-				if(is_file($cron_logfile) && filesize($cron_logfile) > 10000000) {
+				if(is_file($cron_logfile)) {
 					exec("gzip -c $cron_logfile > $cron_logfile.1.gz");
 					exec("cat /dev/null > $cron_logfile");
 				}

--
Gitblit v1.9.1