Fix cosmetic issues
This commit is contained in:
parent
1bce737243
commit
7d7692d273
|
|
@ -16,7 +16,7 @@ use Symfony\Component\Console\Command\Command;
|
|||
* @property \Model\ProjectPermission $projectPermission
|
||||
* @property \Model\ProjectAnalytic $projectAnalytic
|
||||
* @property \Model\ProjectDailyColumnStats $projectDailyColumnStats
|
||||
* @property \Model\ProjectDailyStats $projectDailyColumnStats
|
||||
* @property \Model\ProjectDailyStats $projectDailyStats
|
||||
* @property \Model\SubtaskExport $subtaskExport
|
||||
* @property \Model\Task $task
|
||||
* @property \Model\TaskExport $taskExport
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ class Action extends Base
|
|||
|
||||
if ($valid) {
|
||||
|
||||
if ($this->action->create($values)) {
|
||||
if ($this->action->create($values) !== false) {
|
||||
$this->session->flash(t('Your automatic action have been created successfully.'));
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ class Notification extends Base
|
|||
public function sendOverdueTaskNotifications()
|
||||
{
|
||||
$tasks = $this->taskFinder->getOverdueTasks();
|
||||
$projects = array();
|
||||
|
||||
foreach ($this->groupByColumn($tasks, 'project_id') as $project_id => $project_tasks) {
|
||||
|
||||
|
|
@ -157,10 +156,9 @@ class Notification extends Base
|
|||
*
|
||||
* @access public
|
||||
* @param array $user
|
||||
* @param array $event_data
|
||||
* @return boolean
|
||||
*/
|
||||
public function filterNone(array $user, array $event_data)
|
||||
public function filterNone(array $user)
|
||||
{
|
||||
return $user['notifications_filter'] == self::FILTER_NONE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue