Ignore:
Timestamp:
Jan 21, 2016, 10:20:04 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Function GetTranslationTree moved from global to Translation module where it belongs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Admin/Admin.php

    r857 r859  
    1111    $this->License = 'GNU/GPL';
    1212    $this->Description = 'Administrator section of the web';
    13     $this->Dependencies = array();
     13    $this->Dependencies = array('Translation');
    1414  }
    1515
     
    114114  function RepairVersionEnd()
    115115  {
    116     global $TranslationTree;
     116    $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    117117
    118118    $Output = '';
     
    150150  function MergeSameText()
    151151  {
    152     global $TranslationTree;
     152    $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    153153
    154154    $Output = '';
     
    204204  function DbcStructure()
    205205  {
    206     global $TranslationTree;
     206    $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    207207
    208208    $Output = '';
Note: See TracChangeset for help on using the changeset viewer.