🔥 Remove “create” flag from session provider interface
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index 5448054..d8d5e26 100644 (file)
@@ -265,8 +265,8 @@ public class WebInterface implements SessionProvider {
 
        @Override
        @Nullable
-       public Sone getCurrentSone(@Nonnull ToadletContext toadletContext, boolean createSession) {
-               return createSession ? getCurrentSoneCreatingSession(toadletContext) : getCurrentSoneWithoutCreatingSession(toadletContext);
+       public Sone getCurrentSone(@Nonnull ToadletContext toadletContext) {
+               return getCurrentSoneWithoutCreatingSession(toadletContext);
        }
 
        /**