From 4f2fe4547809c2a0691da240815ea13d077244bc Mon Sep 17 00:00:00 2001
From: Rasmus Fuhse <fuhse@data-quest.de>
Date: Fri, 1 Apr 2022 12:31:26 +0200
Subject: [PATCH] re #793

---
 app/controllers/oer/endpoints.php | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/controllers/oer/endpoints.php b/app/controllers/oer/endpoints.php
index 1c94119c910..5986e7d44b0 100755
--- a/app/controllers/oer/endpoints.php
+++ b/app/controllers/oer/endpoints.php
@@ -98,12 +98,8 @@ class Oer_EndpointsController extends StudipController
             $host_data = json_decode($host_data, true);
             if ($host_data) {
                 $host['name'] = $host_data['name'];
-                $host['url'] = Request::get("from");
                 $host['public_key'] = $host_data['public_key'];
                 $host['last_updated'] = time();
-                if ($host->isNew()) {
-                    $host['active'] = Config::get()->LERNMARKTPLATZ_ACTIVATE_NEW_HOSTS ? 1 : 0;
-                }
                 $host->store();
             }
         }
-- 
GitLab