Marius Cramer
2014-04-04 6a0c393d39d5135345a8b8c6509b979de770dea8
Changed to use else block instead of continue inside if block (easier code reading)
1 files modified
10 ■■■■■ changed files
server/lib/classes/cron.d/300-quota_notify.inc.php 10 ●●●●● patch | view | raw | blame | history
server/lib/classes/cron.d/300-quota_notify.inc.php
@@ -292,9 +292,7 @@
                            }
                            send_notification_email('web_quota_ok_notification', $placeholders, $recipients);
                        }
                        continue;
                    }
                    } else {
                    // could a notification be sent?
                    $send_notification = false;
@@ -328,6 +326,7 @@
                            }
                        }
                        send_notification_email('web_quota_notification', $placeholders, $recipients);
                        }
                    }
                }
            }
@@ -422,9 +421,7 @@
                            send_notification_email('mail_quota_ok_notification', $placeholders, $recipients);
                        }
                        continue;
                    }
                    } else {
                    //* Send quota notifications
                    // could a notification be sent?
@@ -462,6 +459,7 @@
                }
            }
        }
        }
        //######################################################################################################
        // send database quota warnings by email