Merge pull request #165 from fschlich/master

googlereaderimport: actually pass $link to create_article()
This commit is contained in:
Andrew Dolgov 2013-04-21 04:40:12 -07:00
commit 84a463ecb8

View file

@ -164,7 +164,7 @@ class GoogleReaderImport extends Plugin {
$processed++;
$imported += (int) $this->create_article($owner_uid, $guid, $title,
$updated, $content, $author, $sql_set_marked, $tags,
$link, $updated, $content, $author, $sql_set_marked, $tags,
$orig_feed_data);
if ($file && $processed % 25 == 0) {
@ -196,7 +196,7 @@ class GoogleReaderImport extends Plugin {
}
// expects ESCAPED data
private function create_article($owner_uid, $guid, $title, $updated, $content, $author, $marked, $tags, $orig_feed_data) {
private function create_article($owner_uid, $guid, $title, $link, $updated, $content, $author, $marked, $tags, $orig_feed_data) {
if (!$guid) $guid = sha1($link);