original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: 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
docstring_tokens: Syncronizes users from LDAP server to moodle user table .