Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2663

Auto Cancel: Update CronTasks model calls to support new design

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      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::getTaskRunByKey. 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

        Activity

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              22/Oct/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 10 minutes
              10m

                Agile