From e26fec2f4c1f7bb32fb71e75d71e099adb01a32a Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Sun, 10 Jan 2010 13:58:23 -0500 Subject: [PATCH] Hylax: Fix references to objects --- hylax/lib/Application.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hylax/lib/Application.php b/hylax/lib/Application.php index baa1ee065..b8e94927e 100644 --- a/hylax/lib/Application.php +++ b/hylax/lib/Application.php @@ -40,7 +40,7 @@ class Hylax_Application extends Horde_Registry_Application if (!empty($args['init'])) { // Registry. - $registry = Horde_Registry::singleton(); + $registry = &Horde_Registry::singleton(); $GLOBALS['registry'] = &$registry; try { @@ -56,7 +56,7 @@ class Hylax_Application extends Horde_Registry_Application define('HYLAX_TEMPLATES', $registry->get('templates')); /* Notification system. */ - $notification = Horde_Notification::singleton(); + $notification = &Horde_Notification::singleton(); $notification->attach('status'); $GLOBALS['notification'] = &$notification; @@ -64,11 +64,11 @@ class Hylax_Application extends Horde_Registry_Application define('HYLAX_BASE', dirname(__FILE__) . '/..'); /* Hylax Driver */ - $this->gateway = Hylax_Driver::singleton($conf['fax']['driver'], + $this->gateway = &Hylax_Driver::singleton($conf['fax']['driver'], $conf['fax']['params']); /* Hylax storage driver. */ - $this->storage = Hylax_Storage::singleton('sql', $conf['sql']); + $this->storage = &Hylax_Storage::singleton('sql', $conf['sql']); /* Start compression, if requested. */ Horde::compressOutput(); @@ -84,4 +84,4 @@ class Hylax_Application extends Horde_Registry_Application return $perms; } -} \ No newline at end of file +} -- 2.11.0