mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Code clean up.
This commit is contained in:
@@ -83,7 +83,6 @@ class Category extends Model
|
||||
$category = self::create($fields);
|
||||
|
||||
return $category;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -109,7 +108,6 @@ class Category extends Model
|
||||
*/
|
||||
public function getNameAttribute($value)
|
||||
{
|
||||
|
||||
if ($this->encrypted) {
|
||||
return Crypt::decrypt($value);
|
||||
}
|
||||
@@ -151,5 +149,4 @@ class Category extends Model
|
||||
{
|
||||
return $this->belongsTo('FireflyIII\User');
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user