Skip to content

Commit 2bd4814

Browse files
authored
Fixed the WARNING: Task running is currently disabled. message appearing even when tasks are enabled.
This warning message is wrongfully displayed because the setting that's being check is Tasks.logPerformance instead of Tasks.enabled
1 parent f484439 commit 2bd4814

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Commands/Lister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function run(array $params)
3434
{
3535
helper('setting');
3636

37-
if (setting('Tasks.logPerformance') === false) {
37+
if (setting('Tasks.enabled') === false) {
3838
CLI::write('WARNING: Task running is currently disabled.', 'red');
3939
CLI::write('To re-enable tasks run: tasks:enable');
4040
CLI::newLine();

0 commit comments

Comments
 (0)