You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/07/14 23:20:29 UTC

svn commit: r219099 - /incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java

Author: agilliland
Date: Thu Jul 14 14:20:25 2005
New Revision: 219099

URL: http://svn.apache.org/viewcvs?rev=219099&view=rev
Log:
removed a little old code that was added for theme management, but eventually abandoned.

Modified:
    incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java

Modified: incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java?rev=219099&r1=219098&r2=219099&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java Thu Jul 14 14:20:25 2005
@@ -72,7 +72,6 @@
     private WeblogEntryData    mWeblogEntry;
     private WeblogCategoryData mWeblogCategory;
     private boolean           mIsDateSpecified = false;
-    private boolean            mIsPreview = false;
         
     private static ThreadLocal mRollerRequestTLS = new ThreadLocal();
     
@@ -153,11 +152,6 @@
             UserData currentUser = userMgr.getUser(userName);
             getRoller().setUser(currentUser);
         }
-
-        // check servlet path to see if this is a preview request
-        mLogger.debug("servlet path = "+mRequest.getServletPath());
-        if(mRequest.getServletPath().indexOf("preview") != -1)
-            this.mIsPreview = true;
         
         // path info may be null, (e.g. on JSP error page)
         mPathInfo = mRequest.getPathInfo();