Marius Cramer
2014-04-04 454fa04e0098e6587564adf79bc926202076905a
Changed to use else block instead of continue inside if block (easier code reading)
1 files modified
10 ■■■■■ changed files
server/cron_daily.php 10 ●●●●● patch | view | raw | blame | history
server/cron_daily.php
@@ -886,9 +886,7 @@
                    }
                    send_notification_email('web_quota_ok_notification', $placeholders, $recipients);
                }
                continue;
            }
            } else {
            // could a notification be sent?
            $send_notification = false;
@@ -922,6 +920,7 @@
                    }
                }
                send_notification_email('web_quota_notification', $placeholders, $recipients);
                }
            }
        }
    }
@@ -1016,9 +1015,7 @@
                    send_notification_email('mail_quota_ok_notification', $placeholders, $recipients);
                }
                continue;
            }
            } else {
            //* Send quota notifications
            // could a notification be sent?
@@ -1056,6 +1053,7 @@
        }
    }
}
}
//######################################################################################################