]> wagnertech.de Git - timetracker.git/blobdiff - cron.php
Cosmetic formatting improvements
[timetracker.git] / cron.php
index 908c890c06e60e992927266452c1154c8c69e916..81ef89822e2dfad0cde8cc7cb25fd9844c88d3a7 100644 (file)
--- a/cron.php
+++ b/cron.php
@@ -48,10 +48,10 @@ $mdb2 = getConnection();
 $now = mktime();
 
 $sql = "select * from tt_cron where $now >= next 
-        and status = 1 and report_id is not null and email is not null";
+  and status = 1 and report_id is not null and email is not null";
 $res = $mdb2->query($sql);
 if (is_a($res, 'PEAR_Error'))
-  exit;
+  exit();
 
 while ($val = $res->fetchRow()) {
   // We have jobs to execute in user language.