From 10bb94807b5e56fe77fb95492e3c40637e084530 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 15 Feb 2011 16:28:20 -0500 Subject: [PATCH] fix indentation in siteemailsummaryhandler --- .../EmailSummary/siteemailsummaryhandler.php | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) 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; } }