Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
open-source
MetaGer
Commits
5cfd4697
Commit
5cfd4697
authored
Feb 25, 2021
by
Dominik Hebeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily disabled admitad to solve some problems
parent
98f9147a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/Http/Controllers/MetaGerSearch.php
app/Http/Controllers/MetaGerSearch.php
+6
-6
No files found.
app/Http/Controllers/MetaGerSearch.php
View file @
5cfd4697
...
...
@@ -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
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment