From: cajus Date: Fri, 5 May 2006 11:58:49 +0000 (+0000) Subject: Made tag handling only effective if the object has changed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=344198f53c79ee80b566da1eeea9fbcb981fb049;p=gosa.git Made tag handling only effective if the object has changed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3206 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 10f4636d6..5c1484d27 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -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;