From: hickert Date: Fri, 6 Nov 2009 07:22:58 +0000 (+0000) Subject: Renamed parameter in plugin class. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8f69db9ad419a14c54f680256e8d11f33253ea62;p=gosa.git Renamed parameter in plugin class. -The $parent parameter is not a parent git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14767 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index ae5193b0e..e579bb2b9 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -139,7 +139,7 @@ class plugin \param dn Distinguished name to initialize plugin from \sa plugin() */ - function plugin (&$config, $dn= NULL, $parent= NULL) + function plugin (&$config, $dn= NULL, $object= NULL) { /* Configuration is fine, allways */ $this->config= &$config; @@ -167,8 +167,8 @@ class plugin if ($dn !== NULL){ /* Load data to 'attrs' and save 'dn' */ - if ($parent !== NULL){ - $this->attrs= $parent->attrs; + if ($object !== NULL){ + $this->attrs= $object->attrs; } else { $ldap= $this->config->get_ldap_link(); $ldap->cat ($dn);