Commit 700f6743 authored by Dominik Hebeler's avatar Dominik Hebeler

yahoo-ads won't get enabled for authorized users

parent 5032f9df
......@@ -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"};
}
......
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