From bc64b30815e7ee934844af9ec4691dc1cfeff7f3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 5 Feb 2010 14:24:51 -0700 Subject: [PATCH] Add debug logging for Horde_Prefs::setValue() --- framework/Prefs/lib/Horde/Prefs.php | 3 +++ 1 file changed, 3 insertions(+) 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)); -- 2.11.0