Skip to content

Commit

Permalink
* Adjust code error for cron.
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyanyi committed Dec 1, 2023
1 parent 8b64ffa commit c7ad238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/cron/control.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ public function consumeTask($execId, $task)
parse_str($task->command, $params);
if(isset($params['moduleName']) and isset($params['methodName']))
{
$this->app->loadConfig($params['moduleName']);
$this->app->loadLang($params['moduleName']);
$this->app->loadConfig($params['moduleName']);
$output = $this->fetch($params['moduleName'], $params['methodName']);
}
}
Expand Down

0 comments on commit c7ad238

Please sign in to comment.