mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Some code cleanup. Fixes the tests.
This commit is contained in:
@@ -111,9 +111,10 @@ class Preferences
|
||||
$user = Auth::user();
|
||||
if (is_null($user)) {
|
||||
// make new preference, return it:
|
||||
$pref = new Preference;
|
||||
$pref = new Preference;
|
||||
$pref->name = $name;
|
||||
$pref->data = $value;
|
||||
|
||||
return $pref;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user