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

Method sync_users() @ "/auth/db/auth.php" does not register mdl_user->timecreated property.

XMLWordPrintable

    • Any
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • w02_MDL-30718_m23_usertimedb
    • Hide

      The included patch.diff file adds the missing field if the user is really a new user and should be created on sync_users() method call. It sets the user's timecreated property as the timemodified property, that in this case are the same.

      Show
      The included patch.diff file adds the missing field if the user is really a new user and should be created on sync_users() method call. It sets the user's timecreated property as the timemodified property, that in this case are the same.
    • Hide

      Enable the auth/db plugin, create some users on the external database and try to sync those users using the sync_users() method. The created users will be missing their timecreated property.

      Show
      Enable the auth/db plugin, create some users on the external database and try to sync those users using the sync_users() method. The created users will be missing their timecreated property.

      When it is run the sync_users() method, the new users created (if any) are created without having their timecreated properties registered.

        1. patch2.diff
          1 kB
        2. patch.diff
          0.7 kB

            skodak Petr Skoda
            luis.alcantara Luis Gustavo Mueller de Alcantara
            Aparup Banerjee Aparup Banerjee
            Jason Fowler Jason Fowler
            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.