From f99aa0957e01381e972bb03c9b11ad25fe4d72bc Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 4 Mar 2010 11:36:15 -0700 Subject: [PATCH] Don't hardcode classname --- framework/Util/lib/Horde/Util.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Util/lib/Horde/Util.php b/framework/Util/lib/Horde/Util.php index a7a4375e5..6b07d5441 100644 --- a/framework/Util/lib/Horde/Util.php +++ b/framework/Util/lib/Horde/Util.php @@ -332,7 +332,7 @@ class Horde_Util if (!is_array($var)) { $var = stripslashes($var); } else { - array_walk($var, array('Horde_Util', 'dispelMagicQuotes')); + array_walk($var, array(__CLASS__, 'dispelMagicQuotes')); } } @@ -636,7 +636,7 @@ class Horde_Util { /* Initialization of variables and shutdown functions. */ if (!self::$_shutdownreg) { - register_shutdown_function(array('Horde_Util', 'shutdown')); + register_shutdown_function(array(__CLASS__, 'shutdown')); self::$_shutdownreg = true; } -- 2.11.0