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

re #793

parent 526bdd17
No related branches found
No related tags found
No related merge requests found
......@@ -98,12 +98,8 @@ class Oer_EndpointsController extends StudipController
$host_data = json_decode($host_data, true);
if ($host_data) {
$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();
}
}
......
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