[Sprint/GiddyGiraffe] (fix): don't show suggestions if near subscriptions ratelimit threshold
closes #267
0/1 discussion resolved
- Owner
Can this be moved to Manager with spec tests for safety?
- Last updated by Marcelo Rivera
24 $this->cacher = $cacher ?: Di::_()->get('Cache'); 25 $this->maps = $maps ?: Maps::$maps; 26 } 27 28 /** 29 * @param int|string $userGuid 30 */ 31 public function setUserGuid($userGuid) 32 { 33 $this->userGuid = $userGuid; 34 } 35 36 /** 37 * @return bool false if about to get rate limited 38 */ 39 public function check() - Owner
Ideally delegates should be stateless, so if we could pass $userGuid through as a variable vs class context
changed this line in version 3 of the diff
- Developer
fixed