Skip to content
Snippets Groups Projects
Commit 700f6743 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

yahoo-ads won't get enabled for authorized users

parent 5032f9df
No related branches found
No related tags found
1 merge request!1408Development
......@@ -527,7 +527,7 @@ class MetaGer
}
# Implements Yahoo Ads if Yahoo is not enabled as a searchengine
if (empty($this->enabledSearchengines["yahoo"]) && $this->fokus != "bilder" && !empty($this->sumaFile->sumas->{"yahoo-ads"})) {
if (!$this->apiAuthorized && empty($this->enabledSearchengines["yahoo"]) && $this->fokus != "bilder" && !empty($this->sumaFile->sumas->{"yahoo-ads"})) {
$this->enabledSearchengines["yahoo-ads"] = $this->sumaFile->sumas->{"yahoo-ads"};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment