mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-14 07:11:21 +00:00
Fix #11281 and some other stuff.
This commit is contained in:
@@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Http\Controllers\Transaction;
|
||||
|
||||
use FireflyIII\Support\Facades\Preferences;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use FireflyIII\Events\UpdatedAccount;
|
||||
use FireflyIII\Http\Controllers\Controller;
|
||||
@@ -129,7 +130,7 @@ class DeleteController extends Controller
|
||||
Log::debug(sprintf('Now going to trigger updated account event for account #%d', $account->id));
|
||||
event(new UpdatedAccount($account));
|
||||
}
|
||||
app('preferences')->mark();
|
||||
Preferences::mark();
|
||||
|
||||
return redirect($this->getPreviousUrl('transactions.delete.url'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user