Explorar el Código

Add True to Call to Get Full Home Info Including IP and Port

own3mall hace 7 años
padre
commit
02ef5aa9fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/cron/shared_cron_functions.php

+ 1 - 1
modules/cron/shared_cron_functions.php

@@ -119,7 +119,7 @@ function updateCronJobTokens($old_token, $token){
 function deleteJobsByHomeServerID($home_id){
 	global $db;
 	$jobIdsToDel = array();
-	$homeInfo = $db->getGameHome($home_id);
+	$homeInfo = $db->getGameHome($home_id, true);
 	if($homeInfo){
 		$remote_servers = $db->getRemoteServers();
 		foreach($remote_servers as $remote_server)