]> git.mxchange.org Git - friendica.git/commitdiff
no plink on imported D* posts
authorFriendika <info@friendika.com>
Sat, 3 Sep 2011 12:23:36 +0000 (05:23 -0700)
committerFriendika <info@friendika.com>
Sat, 3 Sep 2011 12:23:36 +0000 (05:23 -0700)
include/diaspora.php

index 89afc46f90cdb0821682778b3b136993e6433f3a..6d070ecba4f2f0a9b6ae3cb717a10e9886b200e1 100644 (file)
@@ -398,6 +398,7 @@ function diaspora_request($importer,$xml) {
 
 function diaspora_post($importer,$xml) {
 
+       $a = get_app();
        $guid = notags(unxmlify($xml->guid));
        $diaspora_handle = notags(unxmlify($xml->diaspora_handle));
 
@@ -472,6 +473,7 @@ function diaspora_post($importer,$xml) {
 
 function diaspora_comment($importer,$xml,$msg) {
 
+       $a = get_app();
        $guid = notags(unxmlify($xml->guid));
        $parent_guid = notags(unxmlify($xml->parent_guid));
        $diaspora_handle = notags(unxmlify($xml->diaspora_handle));
@@ -609,6 +611,7 @@ function diaspora_comment($importer,$xml,$msg) {
 
 function diaspora_photo($importer,$xml,$msg) {
 
+       $a = get_app();
        $remote_photo_path = notags(unxmlify($xml->remote_photo_path));
 
        $remote_photo_name = notags(unxmlify($xml->remote_photo_name));