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

Cant lock last name edition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.7.1, 2.7.2
    • Authentication
    • None
    • MOODLE_27_STABLE
    • Hide

      at /auth/manual/auth.php

      change to:

      /**

      • The name of the component. Used by the configuration.
        */
        const COMPONENT_NAME = 'auth_manual';
        const LEGACY_COMPONENT_NAME = 'auth/manual';

      /**

      • Constructor.
        */

      function auth_plugin_manual()

      { $this->authtype = 'manual'; $this->config = get_config(self::COMPONENT_NAME); //workaround $this->config = get_config(self::COMPONENT_NAME); $new_conf = get_config(self::COMPONENT_NAME); $legacy_conf = get_config(self::LEGACY_COMPONENT_NAME); $this->config = (object)array_merge((array)$legacy_conf, (array)$new_conf); //$this->config = get_config(self::COMPONENT_NAME); }
      Show
      at /auth/manual/auth.php change to: /** The name of the component. Used by the configuration. */ const COMPONENT_NAME = 'auth_manual'; const LEGACY_COMPONENT_NAME = 'auth/manual'; /** Constructor. */ function auth_plugin_manual() { $this->authtype = 'manual'; $this->config = get_config(self::COMPONENT_NAME); //workaround $this->config = get_config(self::COMPONENT_NAME); $new_conf = get_config(self::COMPONENT_NAME); $legacy_conf = get_config(self::LEGACY_COMPONENT_NAME); $this->config = (object)array_merge((array)$legacy_conf, (array)$new_conf); //$this->config = get_config(self::COMPONENT_NAME); }

      Hi

      Im having a problem locking last name edition on Moodle 2.7.1. Even if a lock the option, students still can edit their names. How can i fix that?

      Thanks


      EDIT

      Found a workaround.

            Unassigned Unassigned
            Phela_Poscam Aleph Campos da Silveira
            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.