2005-11-24 jrandom

* Fix to save syndication settings in Syndie (thanks spaetz!)
This commit is contained in:
jrandom
2005-11-24 08:45:54 +00:00
committed by zzz
parent 2b841ad667
commit dbb4b3d0c2
4 changed files with 31 additions and 17 deletions

View File

@ -973,6 +973,7 @@ public class BlogManager {
if ( (location != null) && (location.trim().length() > 0) )
buf.append(location.trim());
System.setProperty("syndie.updateArchives", buf.toString());
writeConfig();
Updater.wakeup();
}
public void scheduleSyndication(String locations[]) {
@ -987,6 +988,7 @@ public class BlogManager {
for (Iterator iter = locs.iterator(); iter.hasNext(); )
buf.append(iter.next().toString().trim()).append(',');
System.setProperty("syndie.updateArchives", buf.toString());
writeConfig();
Updater.wakeup();
}
public void unscheduleSyndication(String location) {
@ -998,6 +1000,7 @@ public class BlogManager {
buf.append(archives[i]).append(",");
System.setProperty("syndie.updateArchives", buf.toString());
}
writeConfig();
}
public boolean syndicationScheduled(String location) {
String archives[] = getUpdateArchives();