aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-02 23:22:02 -0700
committerfriendica <info@friendica.com>2012-06-02 23:22:02 -0700
commit97576e3e33c1581ececc56588ae526d2990b092f (patch)
treeea3cb9c6378dc1eca771c8e8959babbdd03c99d1 /include
parentee42c3be9474e4f193a211e8ba5f843d7c5d1448 (diff)
downloadvolse-hubzilla-97576e3e33c1581ececc56588ae526d2990b092f.tar.gz
volse-hubzilla-97576e3e33c1581ececc56588ae526d2990b092f.tar.bz2
volse-hubzilla-97576e3e33c1581ececc56588ae526d2990b092f.zip
doco
Diffstat (limited to 'include')
-rw-r--r--include/follow.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/follow.php b/include/follow.php
index 55b800b8b..d92d7577d 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -1,6 +1,18 @@
<?php
+//
+// Takes a $uid and a url/handle and adds a new contact
+// Currently if the contact is DFRN, interactive needs to be true, to redirect to the
+// dfrn_request page.
+
+// Otherwise this can be used to bulk add statusnet contacts, twitter contacts, etc.
+// Returns an array
+// $return['success'] boolean true if successful
+// $return['message'] error text if success is false.
+
+
+
function new_contact($uid,$url,$interactive = false) {
$result = array('success' => false,'message' => '');