From: Ben Klang Date: Tue, 18 May 2010 02:07:31 +0000 (-0400) Subject: Framework: Really fix Prefs constant names X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=48931b66d305a40c1611128e11959f64b981008e;p=horde.git Framework: Really fix Prefs constant names --- diff --git a/framework/Prefs/lib/Horde/Prefs/KolabImap.php b/framework/Prefs/lib/Horde/Prefs/KolabImap.php index 63b8343e0..1013d4513 100644 --- a/framework/Prefs/lib/Horde/Prefs/KolabImap.php +++ b/framework/Prefs/lib/Horde/Prefs/KolabImap.php @@ -202,7 +202,7 @@ class Horde_Prefs_KolabImap extends Horde_Prefs // Clean the preferences since they were just saved. foreach ($dirty_prefs as $scope => $prefs) { foreach ($prefs as $name => $pref) { - $this->_scopes[$scope][$name]['m'] &= ~_PREF_DIRTY; + $this->_scopes[$scope][$name]['m'] &= ~self::DIRTY; } // Update the cache for this scope. diff --git a/framework/Prefs/lib/Horde/Prefs/Ldap.php b/framework/Prefs/lib/Horde/Prefs/Ldap.php index 96b241927..2baac9211 100644 --- a/framework/Prefs/lib/Horde/Prefs/Ldap.php +++ b/framework/Prefs/lib/Horde/Prefs/Ldap.php @@ -465,7 +465,7 @@ class Horde_Prefs_Ldap extends Horde_Prefs // Clean the preferences since they were just saved. foreach ($dirty_prefs as $scope => $prefs) { foreach ($prefs as $name => $pref) { - $this->_scopes[$scope][$name]['m'] &= ~self::_PREF_DIRTY; + $this->_scopes[$scope][$name]['m'] &= ~self::DIRTY; } // Update the cache for this scope.