Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.5.0-b1
-
Component/s: None
-
Labels:None
Description
The SSL Store plugin should be updated to follow the new cron task design.
That is, these should be updated:
- CronTasks::getByKey. Pass in all arguments specifying this task is a plugin task
- CronTasks::add. Pass task_type and dir instead of plugin_dir
- CronTasks::delete. Replace this deprecated method with CronTasks::deleteTask
Additionally, the plugin should no longer perform order synchronization. The SSL Store module should be updated to do that instead. This plugin should remove that functionality and delete it's associated cron task.
NOTE: The SSL Store plugin appears to only exist for the purpose of performing these automation tasks via cron AND adding an email template. Instead, the plugin can be eliminated updated to only set the email template and the module can be updated to support the cron actions now. In this case, the plugin may need to be updated to check whether the module supports cron tasks, and if so, do not perform it's cron tasks.
The CronTasks model has changed in CORE-2435, and some methods have been updated that the plugin calls.
These should be updated:
- CronTasks::getByKey. Pass in all arguments specifying this task is a plugin task
- CronTasks::add. Pass task_type and dir instead of plugin_dir
- CronTasks::delete. Replace this deprecated method with CronTasks::deleteTask