Modify how sync page runs.

This commit is contained in:
Buster "Silver Eagle" Neece 2018-02-27 00:42:13 -06:00
parent a14726058e
commit d0a0316ed1
1 changed files with 1 additions and 5 deletions

View File

@ -50,8 +50,6 @@ class IndexController
public function syncAction(Request $request, Response $response, $type): Response
{
ob_start();
switch ($type) {
case "long":
$this->sync->syncLong();
@ -74,8 +72,6 @@ class IndexController
break;
}
$result = ob_get_clean();
return $response->write($result);
return $response->write('Sync task complete. See log above.');
}
}