From 119d96823ca015587e3ab42653d21d6c3ce8cdab Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Mon, 21 Mar 2022 13:35:26 +0100 Subject: [PATCH] re #793 --- app/controllers/oer/endpoints.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/oer/endpoints.php b/app/controllers/oer/endpoints.php index 552a757af20..6fd8e1a6be6 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(); } -- GitLab