You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/05/26 20:44:09 UTC
svn commit: r409719 -
/incubator/roller/branches/roller_3.0/web/login-redirect.jsp
Author: snoopdave
Date: Fri May 26 11:44:08 2006
New Revision: 409719
URL: http://svn.apache.org/viewvc?rev=409719&view=rev
Log:
Fixed reference to old getWebsites() signature
Modified:
incubator/roller/branches/roller_3.0/web/login-redirect.jsp
Modified: incubator/roller/branches/roller_3.0/web/login-redirect.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/login-redirect.jsp?rev=409719&r1=409718&r2=409719&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/login-redirect.jsp (original)
+++ incubator/roller/branches/roller_3.0/web/login-redirect.jsp Fri May 26 11:44:08 2006
@@ -27,7 +27,7 @@
Roller roller = RollerFactory.getRoller();
RollerSession rollerSession = RollerSession.getRollerSession(request);
UserData user = rollerSession.getAuthenticatedUser();
-List websites = roller.getUserManager().getWebsites(user, Boolean.TRUE, null);
+List websites = roller.getUserManager().getWebsites(user, Boolean.TRUE, null, 0, Integer.MAX_VALUE);
if (websites.size() == 1) {
WebsiteData website = (WebsiteData)websites.get(0);
website.hasUserPermissions(user, PermissionsData.LIMITED);