From de85a74f15b3212f6a89d4f9479429c7f9cb3e67 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Aug 2007 06:59:14 +0000 Subject: [PATCH] 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 --- include/class_plugin.inc | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.30.2