mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-58286-master' of https://github.com/xow/moodle
This commit is contained in:
commit
9a334cb444
@ -328,7 +328,7 @@ class enrol_ldap_plugin extends enrol_plugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ldap_pagedresults = ldap_paged_results_supported($this->get_config('ldap_version'));
|
$ldap_pagedresults = ldap_paged_results_supported($this->get_config('ldap_version'), $this->ldapconnection);
|
||||||
|
|
||||||
// we may need a lot of memory here
|
// we may need a lot of memory here
|
||||||
core_php_time_limit::raise();
|
core_php_time_limit::raise();
|
||||||
@ -761,7 +761,7 @@ class enrol_ldap_plugin extends enrol_plugin {
|
|||||||
|
|
||||||
// Get all contexts and look for first matching user
|
// Get all contexts and look for first matching user
|
||||||
$ldap_contexts = explode(';', $ldap_contexts);
|
$ldap_contexts = explode(';', $ldap_contexts);
|
||||||
$ldap_pagedresults = ldap_paged_results_supported($this->get_config('ldap_version'));
|
$ldap_pagedresults = ldap_paged_results_supported($this->get_config('ldap_version'), $this->ldapconnection);
|
||||||
foreach ($ldap_contexts as $context) {
|
foreach ($ldap_contexts as $context) {
|
||||||
$context = trim($context);
|
$context = trim($context);
|
||||||
if (empty($context)) {
|
if (empty($context)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user