aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-25 05:04:52 -0700
committerfriendica <info@friendica.com>2013-07-25 05:04:52 -0700
commite45beccd5b7f5f56f3bda9f09e77e4c0f9669fcd (patch)
tree41eeb9ad689e5a4b38384b5e195429f70126a022 /include/zot.php
parent98d3d06352f1a2f0d1220bb6f1b4a031c4c885d1 (diff)
downloadvolse-hubzilla-e45beccd5b7f5f56f3bda9f09e77e4c0f9669fcd.tar.gz
volse-hubzilla-e45beccd5b7f5f56f3bda9f09e77e4c0f9669fcd.tar.bz2
volse-hubzilla-e45beccd5b7f5f56f3bda9f09e77e4c0f9669fcd.zip
fix media uploads in api (specifically friendica for android)
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/include/zot.php b/include/zot.php
index 256f5587d..609107936 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -47,40 +47,6 @@ function zot_get_hubloc($arr,$primary = false) {
}
-/**
- * obsolete
-
-function zot_notify($channel,$url,$type = 'notify',$recipients = null, $remote_key = null) {
-
- $params = array(
- 'type' => $type,
- 'sender' => json_encode(array(
- 'guid' => $channel['channel_guid'],
- 'guid_sig' => base64url_encode(rsa_sign($channel['channel_guid'],$channel['channel_prvkey'])),
- 'url' => z_root(),
- 'url_sig' => base64url_encode(rsa_sign(z_root(),$channel['channel_prvkey']))
- )),
- 'callback' => '/post',
- 'version' => ZOT_REVISION
- );
-
-
- if($recipients)
- $params['recipients'] = json_encode($recipients);
-
- // Hush-hush ultra top-secret mode
-
- if($remote_key) {
- $params = aes_encapsulate($params,$remote_key);
- }
-
- $x = z_post_url($url,$params);
- return($x);
-}
-*/
-
-
-
/*
*
* zot_build_packet builds a notification packet that you can either