Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
61abbb3900
commit
3fd8832b45
138 changed files with 2597 additions and 1253 deletions
|
|
@ -35,10 +35,11 @@
|
|||
*/
|
||||
function IsVacationMode($CurrentUser){
|
||||
global $gameConfig;
|
||||
trigger_error(sprintf('%s is deprecated', __FUNCTION__), E_USER_DEPRECATED);
|
||||
|
||||
if($CurrentUser['urlaubs_modus'] == 1){
|
||||
$query = doquery("SELECT * FROM {{table}} WHERE id_owner = '{$CurrentUser['id']}'", 'planets');
|
||||
while($id = mysql_fetch_array($query)){
|
||||
while ($id = $query->fetch(PDO::FETCH_BOTH)){
|
||||
doquery("UPDATE {{table}} SET
|
||||
metal_perhour = '".$gameConfig['metal_basic_income']."',
|
||||
crystal_perhour = '".$gameConfig['crystal_basic_income']."',
|
||||
|
|
|
|||
Loading…
Reference in a new issue