...
 
Commits (2)
......@@ -62,6 +62,10 @@ class campaigns implements Interfaces\Api
$cacheKey = Core\Session::getLoggedinUser()->guid . ':boost-offset-rotator:' . $type;
$offset = $cacher->get($cacheKey);
if (!$offset) {
$offset = 0;
}
// Options specific to newly created users (<=1 hour) and iOS users
if ($platform === 'ios') {
......@@ -77,8 +81,6 @@ class campaigns implements Interfaces\Api
$data = [];
$offset = null;
try {
$result = $manager->fetch([
'limit' => $limit,
......