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/06 01:57:13 UTC

svn commit: r209356 - /incubator/roller/trunk/src/org/roller/presentation/planet/SyncWebsitesTask.java

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 - "