From: hickert Date: Thu, 22 Jul 2010 13:45:42 +0000 (+0000) Subject: Added 'location' to command execution X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7141c470595b21c3166db590fab7201fab2615a5;p=gosa.git Added 'location' to command execution git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19050 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index b28e8b133..d0351e6d6 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -643,7 +643,10 @@ class plugin $add_attrs[$attr] = $this->$attr; } } + $ui = get_userinfo(); $add_attrs['dn']=$this->dn; + $add_attrs['callerDN']=$ui->dn; + $add_attrs['location']=$this->config->current['NAME']; $tmp = array(); foreach($add_attrs as $name => $value){ @@ -686,7 +689,10 @@ class plugin $add_attrs[$attr] = $this->$attr; } } + $ui = get_userinfo(); $add_attrs['dn']=$this->dn; + $add_attrs['callerDN']=$ui->dn; + $add_attrs['location']=$this->config->current['NAME']; $tmp = array(); foreach($add_attrs as $name => $value){ @@ -727,7 +733,10 @@ class plugin $add_attrs[$attr] = $this->$attr; } } + $ui = get_userinfo(); $add_attrs['dn']=$this->dn; + $add_attrs['callerDN']=$ui->dn; + $add_attrs['location']=$this->config->current['NAME']; $tmp = array(); foreach($add_attrs as $name => $value){