summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cee838b)
raw | patch | inline | side by side (parent: cee838b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Nov 2009 07:22:58 +0000 (07:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Nov 2009 07:22:58 +0000 (07:22 +0000) |
-The $parent parameter is not a parent
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14767 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14767 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index ae5193b0e49eac04f7f8fecfd09ce8a876f9aa8b..e579bb2b94f60e3a0515409b77df7334ab59cdfd 100644 (file)
\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;
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);