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

Add new log table to db_replace function whitelist array

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.7.12, 2.8.10, 2.9.4, 3.0.2, 3.1.8, 3.2.5, 3.3.2, 3.4, 3.5, 3.6.4, 3.7
    • Administration
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

      In /lib/adminlib.php there is a db_replace function for searching and replacing strings all over the database (is used by /admin/tool/replace, see MDL-35099 for more info).

      This function has a array of the tables to skip when replacing (such as config, sessions,...), and in that string there is the deprecated log table, so I think the new one (logstore_standard_log) (> Moodle 2.7.x) should be added too.

            brendanheywood Brendan Heywood
            izendegi Iñigo Zendegi Urzelai
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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