aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-09 20:47:29 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-09 20:47:29 -0700
commit328ed8bb1b5f73626a032091a78609aea312f5ae (patch)
tree1cb3dc14a29e42ce31ef9c4733b085dd7d410181 /include/items.php
parent1b0b847fc80827022c513a74a7fa817c7d640da0 (diff)
parentc78227292709f8f36206c7234dbf3548e476d442 (diff)
downloadvolse-hubzilla-328ed8bb1b5f73626a032091a78609aea312f5ae.tar.gz
volse-hubzilla-328ed8bb1b5f73626a032091a78609aea312f5ae.tar.bz2
volse-hubzilla-328ed8bb1b5f73626a032091a78609aea312f5ae.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/items.php b/include/items.php
index c9810bb7c..a930a7c3e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2522,12 +2522,6 @@ function store_diaspora_comment_sig($datarray, $channel, $parent_item, $post_id)
// since Diaspora doesn't handle edits we can only do this for the original text and not update it.
- $enabled = intval(get_config('system','diaspora_enabled'));
- if(! $enabled) {
- logger('mod_item: diaspora support disabled, not storing comment signature', LOGGER_DEBUG);
- return;
- }
-
require_once('include/bb2diaspora.php');
$signed_body = bb2diaspora_itembody($datarray);
@@ -2552,12 +2546,6 @@ function store_diaspora_comment_sig($datarray, $channel, $parent_item, $post_id)
intval($post_id)
);
- $r = q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ",
- intval($post_id),
- dbesc($signed_text),
- dbesc(base64_encode($authorsig)),
- dbesc($diaspora_handle)
- );
if(! $r)
logger('store_diaspora_comment_sig: DB write failed');