function change_password_url() {
        if ($this->is_internal() || empty($this->config->changepasswordurl)) {
            // Standard form.
            return null;
        } else {
            // Use admin defined custom url.
            return new moodle_url($this->config->changepasswordurl);
        }
    }
function change_password_url() {
        if ($this->is_internal() || empty($this->config->changepasswordurl)) {
            // Standard form.
            return null;
        } else {
            // Use admin defined custom url.
            return new moodle_url($this->config->changepasswordurl);
        }
    }
function change_password_url ( ) { if ( $ this -> is_internal ( ) || empty ( $ this -> config -> changepasswordurl ) ) { // Standard form. return null ; } else { // Use admin defined custom url. return new moodle_url ( $ this -> config -> changepasswordurl ) ; } }
Returns the URL for changing the user's pw, or empty if the default can
be used.

@return moodle_url
Returns the URL for changing the user s pw or empty if the default can be used .