Sfoglia il codice sorgente

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

own3mall 7 anni fa
parent
commit
02ef5aa9fc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)