Code clean up.

This commit is contained in:
James Cole
2017-11-15 10:52:29 +01:00
parent aee17221eb
commit 649dca77f5
305 changed files with 1200 additions and 1600 deletions

View File

@@ -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');
}
}