From: David ‘Bombe’ Roden Date: Thu, 26 Jul 2012 04:48:05 +0000 (+0200) Subject: Use admin base page in admin page. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0ba4361e65ac1d7949d5bbb36dca91eb32817f70;p=demoscenemusic.git Use admin base page in admin page. --- 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; - } - }