From 0ba4361e65ac1d7949d5bbb36dca91eb32817f70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 26 Jul 2012 06:48:05 +0200 Subject: [PATCH] Use admin base page in admin page. --- .../demoscenemusic/page/admin/ArtistsAdminPage.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/page/admin/ArtistsAdminPage.java b/src/main/java/net/pterodactylus/demoscenemusic/page/admin/ArtistsAdminPage.java index 0539aef..ff93e8f 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/page/admin/ArtistsAdminPage.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/page/admin/ArtistsAdminPage.java @@ -24,8 +24,6 @@ import java.util.List; import net.pterodactylus.demoscenemusic.core.Core; import net.pterodactylus.demoscenemusic.data.Artist; import net.pterodactylus.demoscenemusic.data.DefaultArtist; -import net.pterodactylus.demoscenemusic.data.User; -import net.pterodactylus.demoscenemusic.page.BasePage; import net.pterodactylus.demoscenemusic.page.ServletRequest; import net.pterodactylus.util.database.DatabaseException; import net.pterodactylus.util.template.Template; @@ -40,7 +38,7 @@ import net.pterodactylus.util.web.RedirectException; * * @author David ‘Bombe’ Roden */ -public class ArtistsAdminPage extends BasePage { +public class ArtistsAdminPage extends AdminBasePage { /** * @param core @@ -74,12 +72,4 @@ public class ArtistsAdminPage extends BasePage { } } - /** - * {@inheritDoc} - */ - @Override - protected int getRequiredUserLevel() { - return User.LEVEL_GOD; - } - } -- 2.7.4