Permalink
Browse files

Override advisors w/ 1 hour cache

 - waiting for next daily doesn't work w/ Trials
  • Loading branch information...
1 parent 81fbe50 commit ffdd10abba603cda14619dfb17bcaad230e6c18e @iBotPeaches iBotPeaches committed Dec 16, 2016
Showing with 5 additions and 1 deletion.
  1. +1 −1 destiny/DestinyPlatform.php
  2. +4 −0 destiny/DestinyRequest.php
@@ -14,7 +14,7 @@ public function manifest()
public function advisors()
{
- return $this->request("destiny/advisors/v2/", next_daily(), CACHE_INDEX);
+ return $this->request("destiny/advisors/v2/", null, CACHE_INDEX, false);
}
public function xur()
@@ -51,6 +51,10 @@ public function __construct($uri, $params = [], $cache = null, $salvageable = tr
$salvageable = $params;
$params = [];
}
+ else if ($params === null)
+ {
+ $params = [];
+ }
else if ( ! is_array($params))
{
$salvageable = ($cache === null) ? true : $cache;

0 comments on commit ffdd10a

Please sign in to comment.