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

Mod folder to update DB-log only after real edit is saved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.4.5, 2.5.1
    • Component/s: Resource
    • Labels:

      Description

      mod/folder/edit.php adds a log entry every time edit.php is called, thus generating more entries than really needed.

      My suggestion is to move the add_to_log call down a few lines to the part where the actually edited formdata is being processed, like in other activities (e.g. wiki).

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            fzillner Florian Zillner
            Integrator:
            Dan Poltawski
            Tester:
            Jason Fowler
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Jul/13