MAPG-117 remove admin/maps and place a button to the maps page if admin is logged in

This commit is contained in:
bence committed 2020-06-10 00:30:29 +02:00
1 parent 4af6f07ce1
commit 5a450c46db
8 files changed
+22 -18

No files matched your search

-7
View File
@@ -37,13 +37,6 @@ class MapAdminController implements ISecured
return $user !== null && $user->hasPermission(IUser::PERMISSION_ADMIN);
}
public function getMaps(): IContent
{
//TODO
return new HtmlContent('admin/maps');
}
public function getMapEditor(): IContent
{
$mapId = (int) $this->request->query('mapId');