From: Michael M Slusarz Date: Wed, 20 Jan 2010 01:19:49 +0000 (-0700) Subject: Fully convert jeta to Horde_Registry_Application X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=603f4c120e537af4187dac94f00dbc02eba3b87f;p=horde.git Fully convert jeta to Horde_Registry_Application --- diff --git a/jeta/lib/Application.php b/jeta/lib/Application.php index f1f53ac68..2851f34e2 100644 --- a/jeta/lib/Application.php +++ b/jeta/lib/Application.php @@ -1,6 +1,42 @@ pushApp('jeta', array('logintasks' => true)); -} catch (Horde_Exception $e) { - Horde_Auth::authenticateFailure('jeta', $e); -} - -$conf = &$GLOBALS['conf']; -define('JETA_TEMPLATES', $registry->get('templates')); - -// Notification system. -$notification = Horde_Notification::singleton(); -$notification->attach('status'); diff --git a/jeta/main.php b/jeta/main.php index afbf10b54..956b01c80 100644 --- a/jeta/main.php +++ b/jeta/main.php @@ -8,7 +8,8 @@ * @author Eric Rostetter */ -require_once dirname(__FILE__) . '/lib/base.php'; +require_once dirname(__FILE__) . '/lib/Application.php'; +Horde_Registry::appInit('jeta'); $applet = Jeta_Applet::factory($prefs->getValue('sshdriver'));