Commit 10bb9480 authored by Evan Prodromou's avatar Evan Prodromou

fix indentation in siteemailsummaryhandler

parent f31db669
......@@ -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;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment