MDL-25341 blogs import - minor whitespace clean

This commit is contained in:
Eloy Lafuente (stronk7) 2010-12-27 15:56:58 +01:00
parent e38610e4d4
commit b7c1da93ec

View file

@ -137,7 +137,7 @@ function blog_remove_associations_for_course($courseid) {
/**
* Given a record in the {blog_external} table, checks the blog's URL
* for new entries not yet copied into Moodle.
* for new entries not yet copied into Moodle.
* Also attempts to identify and remove deleted blog entries
*
* @param object $externalblog
@ -255,7 +255,7 @@ function blog_sync_external_entries($externalblog) {
}
//Look at the posts we have in the database to check if any of them have been deleted from the feed.
//Only checking posts within the time frame returned by the rss feed. Older items may have been deleted or
//Only checking posts within the time frame returned by the rss feed. Older items may have been deleted or
//may just not be returned anymore. We cant tell the difference so we leave older posts alone.
$dbposts = $DB->get_records_select('post', 'created > :ts', array('ts' => $oldesttimestamp), '', 'id, uniquehash');
$todelete = array();