From c2b8678aeba068105cf7de0c1535d5fee1169814 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 f1931397694..a6d2b774ad3 100755
--- a/app/controllers/oer/endpoints.php
+++ b/app/controllers/oer/endpoints.php
@@ -101,12 +101,8 @@ class Oer_EndpointsController extends StudipController
                     $host = new OERHost();
                 }
                 $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