diff --git a/app/controllers/oer/endpoints.php b/app/controllers/oer/endpoints.php index 1c94119c910a1ac38ec2954822d1f35824232fe1..5986e7d44b03ca45720a5b71913d9e8934b58420 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(); } }