aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 03:02:31 -0700
committerFriendika <info@friendika.com>2011-08-23 03:02:31 -0700
commit8cfbe2c432e658fe67b0b21ba411a751f50d8f0c (patch)
treea3966dcafe7cf1508d587fef562ea8cce3421cb9 /include/diaspora.php
parent92504b5df77bb53bc40b7e105e8c7a759995dd30 (diff)
downloadvolse-hubzilla-8cfbe2c432e658fe67b0b21ba411a751f50d8f0c.tar.gz
volse-hubzilla-8cfbe2c432e658fe67b0b21ba411a751f50d8f0c.tar.bz2
volse-hubzilla-8cfbe2c432e658fe67b0b21ba411a751f50d8f0c.zip
include bb2diaspora at top level
Diffstat (limited to 'include/diaspora.php')
-rw-r--r--include/diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index b841c7770..345ea5562 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -2,6 +2,7 @@
require_once('include/crypto.php');
require_once('include/items.php');
+require_once('include/bb2diaspora.php');
function diaspora_get_contact_by_handle($uid,$handle) {
$r = q("SELECT * FROM `contact` WHERE `network` = '%s' AND `uid` = %d AND `addr` = '%s' LIMIT 1",
@@ -845,7 +846,6 @@ function diaspora_send_status($item,$owner,$contact) {
$a = get_app();
$myaddr = $owner['nickname'] . '@' . substr($a->get_baseurl(), strpos($a->get_baseurl(),'://') + 3);
$theiraddr = $contact['addr'];
- require_once('include/bb2diaspora.php');
$body = xmlify(bb2diaspora($item['body']));
$public = (($item['private']) ? 'false' : 'true');