Skip to content
Snippets Groups Projects
Commit c2b8678a authored by Rasmus Fuhse's avatar Rasmus Fuhse Committed by Jan-Hendrik Willms
Browse files

re #793

parent 822a7f52
No related branches found
No related tags found
No related merge requests found
...@@ -101,12 +101,8 @@ class Oer_EndpointsController extends StudipController ...@@ -101,12 +101,8 @@ class Oer_EndpointsController extends StudipController
$host = new OERHost(); $host = new OERHost();
} }
$host['name'] = $host_data['name']; $host['name'] = $host_data['name'];
$host['url'] = Request::get("from");
$host['public_key'] = $host_data['public_key']; $host['public_key'] = $host_data['public_key'];
$host['last_updated'] = time(); $host['last_updated'] = time();
if ($host->isNew()) {
$host['active'] = Config::get()->LERNMARKTPLATZ_ACTIVATE_NEW_HOSTS ? 1 : 0;
}
$host->store(); $host->store();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment