You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2007/03/20 18:21:51 UTC
svn commit: r520486 -
/incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
Author: snoopdave
Date: Tue Mar 20 10:21:50 2007
New Revision: 520486
URL: http://svn.apache.org/viewvc?view=rev&rev=520486
Log:
Bug in parameter oredering
Modified:
incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
Modified: incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java?view=diff&rev=520486&r1=520485&r2=520486
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java Tue Mar 20 10:21:50 2007
@@ -130,9 +130,20 @@
log.debug("looking up scheduled entries older than "+now);
// get all published entries older than current time
- List scheduledEntries = wMgr.getWeblogEntries(null, null, null, now, null, null,
- null, WeblogEntryData.SCHEDULED, null, null, null, 0, -1);
-
+ List scheduledEntries = wMgr.getWeblogEntries(
+ null, // website
+ null, // user
+ null, // startDate
+ now, // endDate
+ null, // catName
+ null, // tags
+ WeblogEntryData.SCHEDULED, // status
+ null, // text
+ null, // sortBy
+ null, // sortOrder
+ null, // locale
+ 0, -1); // offset, length
+
log.debug("promoting "+scheduledEntries.size()+" entries to PUBLISHED state");
WeblogEntryData entry = null;