XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Quiz
    • None
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide

      Run this test script on all supported databases:

      <?php
      require_once('config.php');
      require_once($CFG->dirroot . '/mod/quiz/locallib.php');
      require_once($CFG->dirroot . '/mod/quiz/cronlib.php');
      class test_updater extends mod_quiz_overdue_attempt_updater {
          public function get_list_of_overdue_attempts($processfrom, $processto) {
              return parent::get_list_of_overdue_attempts($processfrom, $processto);
          }
      } 
      $overduehander = new test_updater();
      $data = $overduehander->get_list_of_overdue_attempts(time(), time() - 1000000);
      var_dump($data);

      Make sure there are no SQL errors.

      Show
      Run this test script on all supported databases: <?php require_once('config.php'); require_once($CFG->dirroot . '/mod/quiz/locallib.php'); require_once($CFG->dirroot . '/mod/quiz/cronlib.php'); class test_updater extends mod_quiz_overdue_attempt_updater { public function get_list_of_overdue_attempts($processfrom, $processto) { return parent::get_list_of_overdue_attempts($processfrom, $processto); } } $overduehander = new test_updater(); $data = $overduehander->get_list_of_overdue_attempts(time(), time() - 1000000); var_dump($data); Make sure there are no SQL errors.

          timhunt Tim Hunt
          timhunt Tim Hunt
          Dan Poltawski Dan Poltawski
          Dan Poltawski Dan Poltawski
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved:

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