*/
public function getDN() {
if (!isset($this->dn)) {
- $this->fetchDetails();
+ $dn = $this->mapping->getDNByName($this->ocName);
+ $this->dn = ($dn !== false) ? $dn : '';
}
return $this->dn;
}
*/
public function getHasActiveShares() {
if (!isset($this->hasActiveShares)) {
- $this->fetchDetails();
+ $this->determineShares();
}
return $this->hasActiveShares;
}
foreach ($properties as $property => $app) {
$this->$property = $this->config->getUserValue($this->ocName, $app, $property, '');
}
-
- $dn = $this->mapping->getDNByName($this->ocName);
- $this->dn = ($dn !== false) ? $dn : '';
-
- $this->determineShares();
}
/**