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

create backup and restore for 'timecreated' field in user table

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Backup
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Recently we are adding a new field called 'timecreated' to user table. (MDL-21226).

      As suggested by Eloy, the additional field needs to be also handled by backup and restore.

      It should achieve:
      1) On backup, save the timecreated field to XML
      2) On restore, load the timecreated field from XML
      3) On restore, if new user is being created, set it to time()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    24/Nov/10