roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r427265 - /incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
Date Mon, 31 Jul 2006 20:59:49 GMT
Author: agilliland
Date: Mon Jul 31 13:59:48 2006
New Revision: 427265

URL: http://svn.apache.org/viewvc?rev=427265&view=rev
Log:
we use weblog.lastModified now.


Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java?rev=427265&r1=427264&r2=427265&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
Mon Jul 31 13:59:48 2006
@@ -101,7 +101,7 @@
                 // figure website last update time
                 WeblogManager blogmgr = RollerFactory.getRoller().getWeblogManager();
                 
-                Date siteUpdated = blogmgr.getWeblogLastPublishTime(website);
+                Date siteUpdated = website.getLastModified();
                 if (siteUpdated == null) { // Site never updated, skip it
                     log.warn("Last-publish time null, skipping local feed ["
                             + website.getHandle() + "]");



Mime
View raw message