Skip to content

Commit 9c88278

Browse files
authored
Merge pull request #9 from as3io/zarathustra323-patch-1
Only run plugins when there are tasks
2 parents 43deea9 + f5ddff9 commit 9c88278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Task/TaskManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function filterResponse(FilterResponseEvent $event)
209209
}
210210
$this->masterRequest = true;
211211

212-
if ((!$this->hasTasks() && !$this->hasPlugins()) || !$this->isEnabled()) {
212+
if (!$this->hasTasks() || !$this->isEnabled()) {
213213
// Nothing to process. Return response.
214214
return $response;
215215
}

0 commit comments

Comments
 (0)