mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 11:08:28 +00:00
Clean up API and display of transactions.
This commit is contained in:
@@ -22,6 +22,10 @@ class PreferencesSingleton
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
public function resetPreferences(): void {
|
||||
$this->preferences = [];
|
||||
}
|
||||
|
||||
public function setPreference(string $key, mixed $value): void
|
||||
{
|
||||
$this->preferences[$key] = $value;
|
||||
|
Reference in New Issue
Block a user