Skip to content
Snippets Groups Projects
Commit 1c300e64 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "OER Campus: Serverübersicht meldet "Kann von dem Server keine Daten bekommen.""

Closes #2539

Merge request studip/studip!1715
parent c203be55
No related branches found
No related tags found
No related merge requests found
......@@ -34,19 +34,6 @@ class Oer_AdminController extends AuthenticatedController
PageLayout::postInfo(_('Der OER Campus ist nicht für nobody freigegeben. Damit kann er sich nicht mit anderen Stud.IPs verbinden. Um das zu ändern, setzen Sie die Konfiguration OER_PUBLIC_STATUS auf "nobody".'));
}
//zufällig einen Host nach Neuigkeiten fragen:
if (count($this->hosts) > 1) {
$index = rand(0, count($this->hosts) - 1);
while($this->hosts[$index]->isMe()) {
$index++;
if ($index >= count($this->hosts)) {
$index = 0;
}
}
$this->askForHosts($this->hosts[$index]);
}
}
public function add_new_host_action()
......
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