Skip to content
Snippets Groups Projects
Commit 119d9682 authored by Rasmus Fuhse's avatar Rasmus Fuhse Committed by Elmar Ludwig
Browse files

re #793

parent b52ad72f
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment