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