@@ -1304,14 +1304,19 @@ function node_update_index() {
// last run date for the nodes update.
returnarray("last_update"=>"node_cron_last",
"node_type"=>"node",
"select"=>"SELECT n.nid as lno, n.title as text1, n.body as text2 FROM node n WHERE n.status = 1 AND moderate = 0 and (created > ".variable_get("node_cron_last",1)." or changed > ".variable_get("node_cron_last",1).")");
}
"select"=>"SELECT n.nid as lno, n.title as text1, n.body as text2 FROM node n WHERE n.status = 1 AND moderate = 0 and (created > ".variable_get("node_cron_las node_access("view", $node)) {
@@ -1304,14 +1304,19 @@ function node_update_index() {
// last run date for the nodes update.
returnarray("last_update"=>"node_cron_last",
"node_type"=>"node",
"select"=>"SELECT n.nid as lno, n.title as text1, n.body as text2 FROM node n WHERE n.status = 1 AND moderate = 0 and (created > ".variable_get("node_cron_last",1)." or changed > ".variable_get("node_cron_last",1).")");
}
"select"=>"SELECT n.nid as lno, n.title as text1, n.body as text2 FROM node n WHERE n.status = 1 AND moderate = 0 and (created > ".variable_get("node_cron_las node_access("view", $node)) {