Changeset 13318

Show
Ignore:
Timestamp:
11/07/07 16:57:06 (1 year ago)
Author:
bergie
Message:

Initialize auth only once

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom.php

    r13314 r13318  
    165165 
    166166$_MIDCOM = new midcom_application(); 
     167$_MIDCOM->auth = $auth; 
    167168//$GLOBALS['midcom'] =& $_MIDCOM; 
    168169$_MIDCOM->initialize(); 
  • trunk/midcom/midcom.core/midcom/application.php

    r13295 r13318  
    429429 
    430430        // Start-up some of the services 
    431         $this->auth->initialize(); 
    432431        $this->toolbars->initialize(); 
    433432        $this->dbclassloader->load_classes('midcom', 'legacy_classes.inc'); 
     
    487486        $this->dbfactory = new midcom_helper__dbfactory(); 
    488487        $this->style = new midcom_helper__styleloader(); 
    489         $this->auth = new midcom_services_auth(); 
    490488 
    491489        // These can be refactored behind serviceloader