From: Michael M Slusarz Date: Fri, 5 Feb 2010 21:24:51 +0000 (-0700) Subject: Add debug logging for Horde_Prefs::setValue() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bc64b30815e7ee934844af9ec4691dc1cfeff7f3;p=horde.git Add debug logging for Horde_Prefs::setValue() --- diff --git a/framework/Prefs/lib/Horde/Prefs.php b/framework/Prefs/lib/Horde/Prefs.php index 18f38d865..0b1409362 100644 --- a/framework/Prefs/lib/Horde/Prefs.php +++ b/framework/Prefs/lib/Horde/Prefs.php @@ -316,6 +316,9 @@ class Horde_Prefs } $result = $this->_setValue($pref, $val, true, $convert); + + Horde::logMessage(__CLASS__ . ': Storing preference value (' . $pref . ')', __FILE__, __LINE__, PEAR_LOG_DEBUG); + if ($result && $this->isDirty($pref)) { $scope = $this->_getPreferenceScope($pref); $this->_cacheUpdate($scope, array($pref));