diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2023-04-14 08:43:35 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2023-04-14 08:43:35 +0000 |
| commit | 1c300e640fb2697198fdd52ad8bf1ac5c2dc9026 (patch) | |
| tree | 1d84a5c1b30525915c3dad5c5f2a0835bb66329f /app | |
| parent | c203be555e8bbe125ac13597440b1e78201e227b (diff) | |
Resolve "OER Campus: Serverübersicht meldet "Kann von dem Server keine Daten bekommen.""
Closes #2539
Merge request studip/studip!1715
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/oer/admin.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/oer/admin.php b/app/controllers/oer/admin.php index 1a1939f..ac65d3f 100644 --- a/app/controllers/oer/admin.php +++ b/app/controllers/oer/admin.php @@ -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() |
