Remove some stuff, mark as deprecated.

This commit is contained in:
James Cole
2018-03-11 13:34:16 +01:00
parent ed5cd2b9ca
commit a9870b35be
4 changed files with 7 additions and 50 deletions

View File

@@ -135,24 +135,6 @@ class Tag extends Model
return Crypt::decrypt($value);
}
/**
* Save the model to the database.
*
* @param array $options
*
* @return bool
*/
public function save(array $options = [])
{
foreach ($this->transactionJournals()->get() as $journal) {
$count = $journal->tags()->count();
$journal->tag_count = $count;
$journal->save();
}
return parent::save($options);
}
/**
* @codeCoverageIgnore
*