Code

Applied commit from 12992
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 May 2009 06:32:14 +0000 (06:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 May 2009 06:32:14 +0000 (06:32 +0000)
- Fixed tagging.
Application tagging is now user based.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13623 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc

index a62c9c576b7082120acd881d477d8dd6e2c849ba..2e2052ef72c62f86e015054e2fe3deeef4255e0f 100644 (file)
@@ -487,6 +487,11 @@ class application extends plugin
 
     $this->gosaApplicationFlags ="[{$this->gosaApplicationFlags}]";
     plugin::save();
+
+    /* Handle tagging */
+    $ui= get_userinfo();
+    $this->tag_attrs($this->attrs, $this->dn, $ui->gosaUnitTag);
+
     $this->attrs["gosaApplicationIcon"]= $this->gosaApplicationIcon;
 
     /* Write back to ldap */