Remove matchesAnything

This commit is contained in:
James Cole
2016-02-17 18:06:49 +01:00
parent a6c3189833
commit 28fa1264b7
20 changed files with 22 additions and 234 deletions

View File

@@ -30,15 +30,6 @@ use Illuminate\Database\Eloquent\Model;
*/
class RuleTrigger extends Model
{
/**
* Checks whether this trigger will match all transactions
* For example: amount > 0 or description starts with ''
*/
public function matchesAnything()
{
return TriggerFactory::getTrigger($this, new TransactionJournal)->matchesAnything();
}
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/