instead there is chooseNextChallenge and chooseNextChallengeList
patch: line 3017 to 3046 in DedicatedApi\Connection.php
/**
* Set as next challenge the one with the specified filename, if it is present in the selection.
* @param string $filename
* @param bool $multicall
* @throws InvalidArgumentException
* @return bool
*/
function chooseNextChallenge($filename, $multicall = false)
{
if(!is_string($filename))
throw new InvalidArgumentException('filename = '.print_r($filename,true));
return $this->execute(ucfirst(__FUNCTION__), array($filename), $multicall);
}
/**
* Set as next challenges the list of challenges with the specified filenames, if they are present in the selection.
* The list of challenges to remove is an array of strings.
* @param array $filenames
* @param bool $multicall
* @throws InvalidArgumentException
* @return int
*/
function chooseNextChallengeList(array $filenames, $multicall = false)
{
if(!is_array($filenames))
throw new InvalidArgumentException('filenames = '.print_r($filenames,true));
return $this->execute(ucfirst(__FUNCTION__), array($filenames), $multicall);
}
From petri.ja...@gmail.com on January 04, 2011 19:25:28
instead there is chooseNextChallenge and chooseNextChallengeList
patch: line 3017 to 3046 in DedicatedApi\Connection.php
Original issue: http://code.google.com/p/manialive/issues/detail?id=11