Changeset 577 for trunk/Modules/Import


Ignore:
Timestamp:
Sep 11, 2013, 10:37:54 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Moved some code from global to system file. System class is now serving as main application class. Now old files which still use ShowPage function need system initialization with $InitSystem = true; before global.php inclusion.
  • Modified: Get rid of some global reference to $System, $Config and $User variables.
  • Modified: Search result functionality moved to application module from action.php file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Import/Manage.php

    r551 r577  
    9595        function Show()
    9696        {
    97                 global $User;
    98 
    9997    $Output = '';
    100     if($User->Licence(LICENCE_ADMIN))
     98    if($this->System->User->Licence(LICENCE_ADMIN))
    10199    {
    102100    if(array_key_exists('action', $_GET))
Note: See TracChangeset for help on using the changeset viewer.