MAPG-117 remove admin/maps and place a button to the maps page if admin is logged in
This commit is contained in:
1 parent
4af6f07ce1
commit
5a450c46db
8 files changed
+22
-18
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user