This commit is contained in:
Sander Dorigo
2014-10-11 09:21:14 +02:00
parent dd70fbad3f
commit b3eef4f40b

View File

@@ -280,10 +280,7 @@ class TransactionController extends BaseController
/*
* Try to store:
*/
$data['return_journal'] = true;
$set = $this->_helper->store($data);
$journal = $set['journal'];
$messageBag = $set['messagebag'];
$messageBag = $this->_helper->store($data);
/*
* Failure!
@@ -298,13 +295,6 @@ class TransactionController extends BaseController
*/
Session::flash('success', 'Transaction "' . e(Input::get('description')) . '" saved!');
/*
* Trigger something that will search for possibly matching recurring transactions.
* This only works for expenses. However, at this point we have no idea what the latest
* transaction is. We'll have to find it, and when the user creates a lot of them it might
* get lost somewhere.
*/
/*
* Redirect to original location or back to the form.
*/