use random hash strings for Station URLs

This commit is contained in:
oliver 2016-02-27 19:59:59 +01:00
commit 676c2386fd
3 changed files with 58 additions and 11 deletions

View file

@ -35,12 +35,12 @@
*
* Redirect to a Character groups Quest Station.
*
* @param int $stationId ID of Character groups Quest Station
* @param string $stationHash Hash of Character groups Quest Station
*/
public function cgqs($stationId)
public function cgqs($stationHash)
{
// Get station
$station = $this->Charactergroupsqueststations->getStationById($stationId);
$station = $this->Charactergroupsqueststations->getStationByHash($stationHash);
// Get Character groups Quests
$quest = $this->Charactergroupsquests->getQuestById($station['charactergroupsquest_id']);