simplifications
[platal.git] / include / xorg / globals.inc.php
index 2561df2..1a9fe1f 100644 (file)
@@ -31,18 +31,13 @@ class XorgGlobals extends PlatalGlobals
     function init()
     {
         global $globals;
-        require_once('xorg/hook.inc.php');
 
         $globals       = new XorgGlobals;
         $globals->core = new CoreConfig;
-        $globals->hook = new XOrgHook();
 
         $globals->read_config();
 
         $globals->dbconnect();
-        if ($globals->debug & 1) {
-            $globals->db->trace_on();
-        }
     }
 }