function change_password_url() {
        if (empty($this->config->stdchangepassword)) {
            if (!empty($this->config->changepasswordurl)) {
                return new moodle_url($this->config->changepasswordurl);
            } else {
                return null;
            }
        } else {
            return null;
        }
    }
function change_password_url() {
        if (empty($this->config->stdchangepassword)) {
            if (!empty($this->config->changepasswordurl)) {
                return new moodle_url($this->config->changepasswordurl);
            } else {
                return null;
            }
        } else {
            return null;
        }
    }
function change_password_url ( ) { if ( empty ( $ this -> config -> stdchangepassword ) ) { if ( ! empty ( $ this -> config -> changepasswordurl ) ) { return new moodle_url ( $ this -> config -> changepasswordurl ) ; } else { return null ; } } else { return null ; } }
Returns the URL for changing the user's password, or empty if the default can
be used.

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