Cleanup some Application file code.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 9 Sep 2010 16:57:39 +0000 (10:57 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 9 Sep 2010 19:59:23 +0000 (13:59 -0600)
luxor/lib/Application.php
passwd/lib/Application.php
pastie/lib/Application.php
vilma/lib/Application.php
wicked/lib/Application.php

index 3807bdf..ca165f3 100644 (file)
@@ -47,7 +47,6 @@ class Luxor_Application extends Horde_Registry_Application
     protected function _init()
     {
         // Luxor base libraries.
-        require_once LUXOR_BASE . '/lib/Luxor.php';
         Luxor::initialize();
     }
 
index a7dd420..2b4d90a 100644 (file)
@@ -33,15 +33,4 @@ if (!defined('HORDE_BASE')) {
  * Horde_Registry_Application::). */
 require_once HORDE_BASE . '/lib/core.php';
 
-class Passwd_Application extends Horde_Registry_Application
-{
-    /**
-     * Initialization function.
-     *
-     * Global variables defined:
-     */
-    protected function _init()
-    {
-
-    }
-}
\ No newline at end of file
+class Passwd_Application extends Horde_Registry_Application {}
index 4535448..7cc9ba9 100644 (file)
@@ -47,7 +47,6 @@ class Pastie_Application extends Horde_Registry_Application
             $this->driver = Pastie_Driver::factory();
         } catch (Pastie_Exception $e) {
             $GLOBALS['notification']->notify($e);
-            return false;
         }
     }
 
index b896042..71a33c8 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /**
- * Shout application interface.
+ * Vilma application interface.
  *
- * This file defines Shout's external API interface.
+ * This file defines Vilma's external API interface.
  *
  * Copyright 2006-2010 Alkaloid Networks <http://www.alkaloid.net/>
  *
@@ -24,9 +24,10 @@ class Vilma_Application extends Horde_Registry_Application
 
     protected function _init()
     {
-        $this->driver = &Vilma_Driver::singleton();
+        $this->driver = Vilma_Driver::singleton();
 
-        // Get the currently active domain, possibly storing a change into the session
+        // Get the currently active domain, possibly storing a change into the
+        // session
         $this->curdomain = Vilma::getCurDomain();
     }
 
index 83aba2b..2a005a5 100644 (file)
@@ -32,11 +32,6 @@ if (!defined('HORDE_BASE')) {
  * Horde_Registry_Application::). */
 require_once HORDE_BASE . '/lib/core.php';
 
-// Wicked base libraries.
-require_once WICKED_BASE . '/lib/Wicked.php';
-require_once WICKED_BASE . '/lib/Driver.php';
-require_once WICKED_BASE . '/lib/Page.php';
-
 class Wicked_Application extends Horde_Registry_Application
 {
     /**