From: Evan Prodromou Date: Tue, 15 Feb 2011 21:28:20 +0000 (-0500) Subject: fix indentation in siteemailsummaryhandler X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=10bb94807b5e56fe77fb95492e3c40637e084530;p=quix0rs-gnu-social.git fix indentation in siteemailsummaryhandler --- diff --git a/plugins/EmailSummary/siteemailsummaryhandler.php b/plugins/EmailSummary/siteemailsummaryhandler.php index 595c3267a1..1c0d4997de 100644 --- a/plugins/EmailSummary/siteemailsummaryhandler.php +++ b/plugins/EmailSummary/siteemailsummaryhandler.php @@ -70,27 +70,27 @@ class SiteEmailSummaryHandler extends QueueHandler function handle($object) { - $qm = QueueManager::get(); + $qm = QueueManager::get(); - try { - // Enqueue a summary for all users + try { + // Enqueue a summary for all users - $user = new User(); - $user->find(); + $user = new User(); + $user->find(); - while ($user->fetch()) { - try { - $qm->enqueue($user->id, 'usersum'); - } catch (Exception $e) { - common_log(LOG_WARNING, $e->getMessage()); - continue; - } - } - } catch (Exception $e) { - common_log(LOG_WARNING, $e->getMessage()); - } + while ($user->fetch()) { + try { + $qm->enqueue($user->id, 'usersum'); + } catch (Exception $e) { + common_log(LOG_WARNING, $e->getMessage()); + continue; + } + } + } catch (Exception $e) { + common_log(LOG_WARNING, $e->getMessage()); + } - return true; + return true; } }