send digest: mark digest sent attempt even if there were no headlines
This commit is contained in:
parent
7d4dba8fc3
commit
019dd98d05
|
@ -3843,12 +3843,12 @@
|
||||||
print "Marking affected articles as read...\n";
|
print "Marking affected articles as read...\n";
|
||||||
catchupArticlesById($link, $affected_ids, 0, $line["id"]);
|
catchupArticlesById($link, $affected_ids, 0, $line["id"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
db_query($link, "UPDATE ttrss_users SET last_digest_sent = NOW()
|
|
||||||
WHERE id = " . $line["id"]);
|
|
||||||
} else {
|
} else {
|
||||||
print "No headlines\n";
|
print "No headlines\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
db_query($link, "UPDATE ttrss_users SET last_digest_sent = NOW()
|
||||||
|
WHERE id = " . $line["id"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue