From: Friendika <info@friendika.com>
Date: Sat, 3 Sep 2011 12:23:36 +0000 (-0700)
Subject: no plink on imported D* posts
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8f61ef890e39d703a4f4aff612793177034415a;p=friendica.git

no plink on imported D* posts
---

diff --git a/include/diaspora.php b/include/diaspora.php
index 89afc46f90..6d070ecba4 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -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));