Some minor cleanup.

This commit is contained in:
James Cole
2014-09-09 14:03:55 +02:00
parent b8e07ac38e
commit 0717aa22d7
4 changed files with 4 additions and 78 deletions

View File

@@ -38,15 +38,6 @@ class HomeController extends BaseController
*/
public function index()
{
// Queue::push(function($job)
// {
// Log::debug('This is a job!');
// });
\Event::fire('limits.check');
\Event::fire('piggybanks.check');
\Event::fire('recurring.check');
// count, maybe we need some introducing text to show:
$count = $this->_accounts->count();
@@ -78,13 +69,7 @@ class HomeController extends BaseController
$transactions = array_chunk($transactions, 3);
}
// get the users reminders:
$reminders = $this->_reminders->getCurrentRecurringReminders();
// build the home screen:
return View::make('index')->with('count', $count)->with('transactions', $transactions)->with(
'reminders', $reminders
);
return View::make('index')->with('count', $count)->with('transactions', $transactions);
}
}