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