Changeset 859 for trunk/Modules/Export/Export.php
- Timestamp:
- Jan 21, 2016, 10:20:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Export.php
r838 r859 73 73 function BuildQuery($Group, $Version = '') 74 74 { 75 global $TranslationTree;75 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 76 76 $this->SaveAllUsers(); 77 77 … … 153 153 function ExportToMangosSQL() 154 154 { 155 global $TranslationTree;155 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 156 156 157 157 $this->LoadFilters(); … … 221 221 function ExportToAoWoWSQL() 222 222 { 223 global $TranslationTree, $AoWoWconf; 223 global $AoWoWconf; 224 225 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 224 226 225 227 //require_once('../aowow/configs/config.php'); … … 314 316 function ExportToDBC() 315 317 { 316 global $TranslationTree;318 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 317 319 318 320 $this->LoadFilters(); … … 425 427 function ExportToLua() 426 428 { 427 global $TranslationTree;429 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 428 430 429 431 $this->LoadFilters(); … … 642 644 function ExportToXML() 643 645 { 644 global $TranslationTree;646 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 645 647 646 648 $this->LoadFilters(); … … 707 709 $this->License = 'GNU/GPL'; 708 710 $this->Description = 'Allow parametric export of translated texts to various supported output formats'; 709 $this->Dependencies = array( );711 $this->Dependencies = array('Translation'); 710 712 } 711 713
Note:
See TracChangeset
for help on using the changeset viewer.