From: Michael M Slusarz Date: Wed, 3 Feb 2010 08:37:25 +0000 (-0700) Subject: Fix usage of $this X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bb1a1efe4d8f95b9a3ed4fd2c4ae0291e10ff8f2;p=horde.git Fix usage of $this --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 9b6434360..ffe50128e 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -125,8 +125,9 @@ class Horde_Registry static public function appInit($app, $args = array()) { if (isset($GLOBALS['registry'])) { - $this->init(); - return $GLOBALS['registry']->getApiInstance($app, 'application'); + $appOb = $GLOBALS['registry']->getApiInstance($app, 'application'); + $appOb->init(); + return $appOb; } $args = array_merge(array(