From: Michael M Slusarz Date: Thu, 4 Mar 2010 18:36:15 +0000 (-0700) Subject: Don't hardcode classname X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f99aa0957e01381e972bb03c9b11ad25fe4d72bc;p=horde.git Don't hardcode classname --- 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; }