Commit 9c54b425 authored by Jan Dillenberger's avatar Jan Dillenberger

Delete unneccecary database request.

parent 35db00a1
Pipeline #22071 canceled with stage
......@@ -61,7 +61,6 @@ class GravityScoresAdmin extends AdminController
public function menuAddEvaluation(array $config, array $environment): void
{
$this->setup(__FUNCTION__);
$this->putVariable('tests', Test::all()->toArray());
$post_json = json_decode(file_get_contents('php://input'));
if (!empty($post_json)) {
$this->addEvaluation($post_json);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment