projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f0c95
)
Add debug logging for Horde_Prefs::setValue()
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Feb 2010 21:24:51 +0000
(14:24 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Feb 2010 21:24:51 +0000
(14:24 -0700)
framework/Prefs/lib/Horde/Prefs.php
patch
|
blob
|
history
diff --git
a/framework/Prefs/lib/Horde/Prefs.php
b/framework/Prefs/lib/Horde/Prefs.php
index
18f38d8
..
0b14093
100644
(file)
--- 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));