diff --git a/app/controllers/oer/endpoints.php b/app/controllers/oer/endpoints.php index a6d2b774ad37305cbed92593fdf3eff66370d6bf..9fa119022b7595edecb352ce57c50667f6660532 100755 --- a/app/controllers/oer/endpoints.php +++ b/app/controllers/oer/endpoints.php @@ -94,9 +94,6 @@ class Oer_EndpointsController extends StudipController $host_data = json_decode($host_data, true); if ($host_data) { $host = OERHost::findOneByUrl($url); - if (!$host) { - $host = OERHost::findOneByPublic_key($host_data['public_key']); - } if (!$host) { $host = new OERHost(); }