Skip to content

Commit

Permalink
removed duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Dec 20, 2018
1 parent 2676b08 commit e3730ed
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/Http/Controllers/Banking/Accounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ public function disable(Account $account)
$message = trans('messages.warning.disabled', ['name' => $account->name, 'text' => implode(', ', $relationships)]);

flash($message)->warning();

return redirect()->route('accounts.index');
}

return redirect()->route('accounts.index');
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/Settings/Currencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ public function disable(Currency $currency)
$message = trans('messages.warning.disabled', ['name' => $currency->name, 'text' => implode(', ', $relationships)]);

flash($message)->warning();

return redirect()->route('currencies.index');
}

return redirect()->route('currencies.index');
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/Settings/Taxes.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ public function disable(Tax $tax)
$message = trans('messages.warning.disabled', ['name' => $tax->name, 'text' => implode(', ', $relationships)]);

flash($message)->warning();

return redirect()->route('taxes.index');
}

return redirect()->route('taxes.index');
Expand Down

0 comments on commit e3730ed

Please sign in to comment.