aboutsummaryrefslogtreecommitdiffstats
path: root/include/api_zot.php
diff options
context:
space:
mode:
authorAndrew Manning <andrew@reticu.li>2016-12-04 08:08:22 -0500
committerAndrew Manning <andrew@reticu.li>2016-12-04 08:08:22 -0500
commit3b3da24823defd89f4ed256b7c45df8b71cb0627 (patch)
tree6aebea23b86aa608c93337c5994f399b20d17586 /include/api_zot.php
parent1f91c2fe1203f6f34a639700e8d9731f51ba1429 (diff)
parentb98fbcce0ce8ba68781cd006e2b12a2ff3303b43 (diff)
downloadvolse-hubzilla-3b3da24823defd89f4ed256b7c45df8b71cb0627.tar.gz
volse-hubzilla-3b3da24823defd89f4ed256b7c45df8b71cb0627.tar.bz2
volse-hubzilla-3b3da24823defd89f4ed256b7c45df8b71cb0627.zip
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'include/api_zot.php')
-rw-r--r--include/api_zot.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/api_zot.php b/include/api_zot.php
index 2bbae244c..256339bad 100644
--- a/include/api_zot.php
+++ b/include/api_zot.php
@@ -28,8 +28,8 @@
api_register_func('api/z/1.0/group','api_group', true);
api_register_func('api/red/xchan','api_red_xchan',true);
api_register_func('api/z/1.0/xchan','api_red_xchan',true);
- api_register_func('api/red/item/store','red_item_store', true);
- api_register_func('api/z/1.0/item/store','red_item_store', true);
+ api_register_func('api/red/item/update','zot_item_update', true);
+ api_register_func('api/z/1.0/item/update','zot_item_update', true);
api_register_func('api/red/item/full','red_item', true);
api_register_func('api/z/1.0/item/full','red_item', true);
@@ -266,7 +266,7 @@
require_once('include/hubloc.php');
if($_SERVER['REQUEST_METHOD'] === 'POST') {
- $r = xchan_store($_REQUEST);
+ // $r = xchan_store($_REQUEST);
}
$r = xchan_fetch($_REQUEST);
json_return_and_die($r);
@@ -341,7 +341,7 @@
}
- function red_item_store($type) {
+ function zot_item_update($type) {
if (api_user() === false) {
logger('api_red_item_store: no user');