aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/mod/item.php b/mod/item.php
index a732a9f81..37c4bb24f 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -790,14 +790,6 @@ function item_post(&$a) {
$datarray['item_flags'] = $datarray['item_flags'] | ITEM_VERIFIED;
}
}
-
- logger('Encrypting local storage');
- $key = get_config('system','pubkey');
- $datarray['item_flags'] = $datarray['item_flags'] | ITEM_OBSCURED;
- if($datarray['title'])
- $datarray['title'] = json_encode(crypto_encapsulate($datarray['title'],$key));
- if($datarray['body'])
- $datarray['body'] = json_encode(crypto_encapsulate($datarray['body'],$key));
}
if($orig_post) {