Changeset 727 for trunk/includes/global.php
- Timestamp:
- Jan 7, 2014, 9:54:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r712 r727 373 373 } 374 374 375 // TODO: Client version build number should not be used in internal references 375 376 function GetVersionWOW($BuildNumber) 376 377 { … … 385 386 } 386 387 return($VersionsWOW[$BuildNumber]); 388 } 389 390 // TODO: Client version build number should not be used in internal references 391 function GetVersionWOWId($BuildNumber) 392 { 393 global $System, $VersionsWOWId; 394 395 if(isset($VersionsWOWId[$BuildNumber]) == false) 396 { 397 $sql = 'SELECT `Id` FROM `ClientVersion` WHERE `BuildNumber` = "'.$BuildNumber.'"'; 398 $DbResult = $System->Database->query($sql); 399 $Version = $DbResult->fetch_assoc(); 400 $VersionsWOWId[$BuildNumber] = $Version['Id']; 401 } 402 return($VersionsWOWId[$BuildNumber]); 387 403 } 388 404
Note:
See TracChangeset
for help on using the changeset viewer.