roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r209356 - /incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java
Date Tue, 05 Jul 2005 23:57:13 GMT
Author: agilliland
Date: Tue Jul  5 16:57:12 2005
New Revision: 209356

URL: http://svn.apache.org/viewcvs?rev=209356&view=rev
Log:
Was still trying to use the old RollerConfig.  Updated to use new RollerRuntimeConfig.

Modified:
    incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java

Modified: incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java?rev=209356&r1=209355&r2=209356&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java Tue Jul
 5 16:57:12 2005
@@ -10,6 +10,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.roller.RollerException;
+import org.roller.config.RollerRuntimeConfig;
 import org.roller.model.PlanetManager;
 import org.roller.model.Roller;
 import org.roller.model.RollerFactory;
@@ -60,8 +61,7 @@
         try
         {
             List liveUserFeeds = new ArrayList();            
-            String baseURL = 
-                roller.getConfigManager().getRollerConfig().getAbsoluteURL();
+            String baseURL = RollerRuntimeConfig.getProperty("site.absoluteurl");
             if (baseURL == null || baseURL.trim().length()==0)
             {
                 logger.error("ERROR: cannot sync websites with Planet Roller - "



Mime
View raw message