Code

Made tag handling only effective if the object has changed.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 May 2006 11:58:49 +0000 (11:58 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 May 2006 11:58:49 +0000 (11:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3206 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index 10f4636d6ac62089839260ca8be6662ccd0f0c24..5c1484d27ef49183c4559bb837628759bdd9c1f9 100644 (file)
@@ -851,6 +851,11 @@ class plugin
 
   function handle_object_tagging($dn= "", $tag= "")
   {
+    /* Skip if nothing has changed */
+    if (!$this->is_modified){
+      return;
+    }
+  
     /* No dn? Self-operation... */
     if ($dn == ""){
       $dn= $this->dn;