Commit 5cfd4697 authored by Dominik Hebeler's avatar Dominik Hebeler

Temporarily disabled admitad to solve some problems

parent 98f9147a
......@@ -96,17 +96,17 @@ class MetaGerSearch extends Controller
$admitad = [];
$adgoal = [];
if(!$metager->isApiAuthorized() && !$metager->isDummy()){
$newAdmitad = new \App\Models\Admitad($metager);
/*$newAdmitad = new \App\Models\Admitad($metager);
if(!empty($newAdmitad->hash)){
$admitad[] = $newAdmitad;
}
}*/
$newAdgoal = new \App\Models\Adgoal($metager);
if(!empty($newAdgoal->hash)){
$adgoal[] = $newAdgoal;
}
}
$metager->parseAffiliates($admitad);
// $metager->parseAffiliates($admitad);
$metager->parseAffiliates($adgoal);
$finished = true;
......@@ -224,17 +224,17 @@ class MetaGerSearch extends Controller
$metager->prepareResults();
if(!$metager->isApiAuthorized() && !$metager->isDummy()){
$newAdmitad = new \App\Models\Admitad($metager);
/*$newAdmitad = new \App\Models\Admitad($metager);
if(!empty($newAdmitad->hash)){
$admitad[] = $newAdmitad;
}
}*/
$newAdgoal = new \App\Models\Adgoal($metager);
if(!empty($newAdgoal->hash)){
$adgoal[] = $newAdgoal;
}
}
$admitadFinished = $metager->parseAffiliates($admitad);
//$admitadFinished = $metager->parseAffiliates($admitad);
$adgoalFinished = $metager->parseAffiliates($adgoal);
$result = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment