mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Code cleanup. [skip ci]
This commit is contained in:
@@ -21,12 +21,10 @@ use Log;
|
||||
*/
|
||||
class UserAction implements TriggerInterface
|
||||
{
|
||||
/** @var RuleTrigger */
|
||||
protected $trigger;
|
||||
|
||||
/** @var TransactionJournal */
|
||||
protected $journal;
|
||||
|
||||
/** @var RuleTrigger */
|
||||
protected $trigger;
|
||||
|
||||
/**
|
||||
* TriggerInterface constructor.
|
||||
@@ -41,18 +39,6 @@ class UserAction implements TriggerInterface
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This trigger is always triggered, because the rule that it is a part of has been pre-selected on this condition.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function triggered()
|
||||
{
|
||||
Log::debug('user_action always returns true.');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @{inheritdoc}
|
||||
*
|
||||
@@ -65,4 +51,16 @@ class UserAction implements TriggerInterface
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* This trigger is always triggered, because the rule that it is a part of has been pre-selected on this condition.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function triggered()
|
||||
{
|
||||
Log::debug('user_action always returns true.');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user