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

Typos in auth/cas/auth.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7, 1.8, 1.9
    • 1.8.13, 1.9.9, 2.0
    • Authentication
    • None
    • Any system using CAS authentication and syncing.
    • MySQL
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      In reviewing the log output generated from the cas_ldap_sync_users.php I noticed that the revive section had nothing but bracketed text. Looking at auth.php I discovered the following lines of code had a typo in them

      if (update_record('user', $updateuser))

      { echo "\t"; print_string('auth_dbreviveser', 'auth', array($user->username, $user->id)); echo "\n"; }

      else

      { echo "\t"; print_string('auth_dbreviveusererror', 'auth', $user->username); echo "\n"; }

      The auth_dbreviveser and auth_dbreviveusererror should actually be auth_dbreviveduser and auth_dbrevivedusererror

      Attachments

        Activity

          People

            iarenaza Iñaki Arenaza
            jskarren Scott Karren
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jun/10