function sync_users($do_updates=true) {
        if (empty($this->config->host_url)) {
            error_log('[AUTH CAS] '.get_string('noldapserver', 'auth_cas'));
            return;
        }
        parent::sync_users($do_updates);
    }
function sync_users($do_updates=true) {
        if (empty($this->config->host_url)) {
            error_log('[AUTH CAS] '.get_string('noldapserver', 'auth_cas'));
            return;
        }
        parent::sync_users($do_updates);
    }
function sync_users ( $ do_updates = true ) { if ( empty ( $ this -> config -> host_url ) ) { error_log ( '[AUTH CAS] ' . get_string ( 'noldapserver' , 'auth_cas' ) ) ; return ; } parent :: sync_users ( $ do_updates ) ; }
Syncronizes users from LDAP server to moodle user table.

If no LDAP servers are configured, simply return. Otherwise,
call parent class method to do the work.

@param bool $do_updates will do pull in data updates from LDAP if relevant
@return nothing
Syncronizes users from LDAP server to moodle user table .