Changeset 859 for trunk/Modules/Translation/UserLevel.php
- Timestamp:
- Jan 21, 2016, 10:20:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/UserLevel.php
r833 r859 21 21 function GetXPFromTranslation($UserId) 22 22 { 23 global $System, $TranslationTree, $xp_from_word, $from_diakrit, $Config; 23 global $System, $xp_from_word, $from_diakrit, $Config; 24 25 $TranslationTree = $System->ModuleManager->Modules['Translation']->GetTranslationTree(); 24 26 25 27 $xp = 0; … … 72 74 function UserLevelUpdate($UserId) 73 75 { 74 global $System, $ TranslationTree, $Config;76 global $System, $Config; 75 77 78 $TranslationTree = $System->ModuleManager->Modules['Translation']->GetTranslationTree(); 76 79 // Main code for users 77 80 $DbResult = $System->Database->query('SELECT `ID`, `Name` FROM `User` WHERE `Id` = '.$UserId);
Note:
See TracChangeset
for help on using the changeset viewer.