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

Add new log table to db_replace function whitelist array

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 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
    • None
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              brendanheywood Brendan Heywood
              izendegi Iñigo Zendegi
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: