]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't distribute when restoring archived delicious bookmarks
authorEvan Prodromou <evan@status.net>
Wed, 29 Dec 2010 22:52:43 +0000 (14:52 -0800)
committerEvan Prodromou <evan@status.net>
Wed, 29 Dec 2010 22:52:43 +0000 (14:52 -0800)
plugins/Bookmark/deliciousbookmarkimporter.php

index 061572d95a034ae10fa3a32dd082aceb8ce62956..297ef812461fc401e38559d93a0c83035be6d556 100644 (file)
@@ -97,11 +97,12 @@ class DeliciousBookmarkImporter extends QueueHandler
         $created = common_sql_date(intval($addDate));
 
         $saved = Bookmark::saveNew($user->getProfile(),
-                                          $title,
-                                          $url,
-                                          $tags,
-                                          $description,
-                                          array('created' => $created));
+                                   $title,
+                                   $url,
+                                   $tags,
+                                   $description,
+                                   array('created' => $created,
+                                         'distribute' => false));
 
         return true;
     }