From: hickert Date: Thu, 9 Aug 2007 06:59:14 +0000 (+0000) Subject: Updated plugin::cleanup() X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de85a74f15b3212f6a89d4f9479429c7f9cb3e67;p=gosa.git Updated plugin::cleanup() Cleanup will now also update itself too. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7010 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index f9a5b3a78..5f2a567b7 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -383,6 +383,11 @@ class plugin } } } + + /* Update saved attributes and ensure that next cleanups will be successful too */ + foreach($this->attrs as $name => $value){ + $this->saved_attributes[$name] = $value; + } } /* Check formular input */