fixed double refresh data

This commit is contained in:
Roland Gruber 2013-01-20 19:14:16 +00:00
parent e06c47a9c8
commit 72b9e280df
1 changed files with 11 additions and 0 deletions

View File

@ -914,6 +914,17 @@ class lamList {
$this->possibleSuffixes = $typeObj->getSuffixList();
}
/**
* Forces a refresh of the LDAP data.
* Function must be called before $this->refresh option is checked to load new LDAP data (e.g. in listGetParams).
*/
protected function forceRefresh() {
$this->refresh = true;
if (isset($_GET['norefresh'])) {
unset($_GET['norefresh']);
}
}
/**
* Returns a list of additional LDAP attributes that should be read.
* This can be used to show additional data even if the user selected other attributes to show in the list.