Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17776

Dehackify handling of CLI scripts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0
    • 2.0
    • General
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      handling of CLI scripts is very chaotic at the moment - some of them abut FULLME=='cron', other pollute the codebase with tons of IFs, etc...

      Solution:

      • in setup.php define CLI_SCRIPT=true|false
      • replace FULLME hacks with if (CLI_SCRIPT)

            skodak Petr Skoda
            skodak Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.