Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33893 new file api bugs and regressions META
  3. MDL-33904

incorrect use of empty() in stored_file::set_synchronized()

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Inactive
    • Icon: Minor Minor
    • None
    • 2.3
    • Files API
    • None
    • MOODLE_23_STABLE

      $filerecord = new stdClass();
      ...
      if (!empty($filerecord)) {
          $this->update($filerecord);
      }

      is executed always, I do not understand this part at all, but it seems that it is not good for perf

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

              Created:
              Updated:
              Resolved:

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