From b69fca14e76a2f5db0cd0924fe5e7056e94771b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 15:49:37 -0800 Subject: initial doco --- doc/html/Contact_8php.html | 488 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 488 insertions(+) create mode 100644 doc/html/Contact_8php.html (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html new file mode 100644 index 000000000..a4aa9f102 --- /dev/null +++ b/doc/html/Contact_8php.html @@ -0,0 +1,488 @@ + + + + + + +The Red Project: include/Contact.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Project +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Contact.php File Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

 abook_connections ($channel_id, $sql_conditions= '')
 
 abook_self ($channel_id)
 
 channelx_by_nick ($nick)
 
 channelx_by_hash ($hash)
 
 channelx_by_n ($id)
 
 vcard_from_xchan ($xchan, $observer=null, $mode= '')
 
 abook_toggle_flag ($abook, $flag)
 
 user_remove ($uid)
 
 channel_remove ($channel_id)
 
 remove_all_xchan_resources ($xchan, $channel_id=0)
 
 contact_remove ($channel_id, $abook_id)
 
 terminate_friendship ($user, $self, $contact)
 
if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death'))
+if(!function_exists('contact_photo_menu')) 
random_profile ()
 
 contacts_not_grouped ($uid, $start=0, $count=0)
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
abook_connections ( $channel_id,
 $sql_conditions = '' 
)
+
+ +
+
+ +
+
+ + + + + + + + +
abook_self ( $channel_id)
+
+ +

Referenced by photos_post().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
abook_toggle_flag ( $abook,
 $flag 
)
+
+ +

Referenced by connections_content().

+ +
+
+ +
+
+ + + + + + + + +
channel_remove ( $channel_id)
+
+ +
+
+ +
+
+ + + + + + + + +
channelx_by_hash ( $hash)
+
+ +
+
+ +
+
+ + + + + + + + +
channelx_by_n ( $id)
+
+ +
+
+ +
+
+ + + + + + + + +
channelx_by_nick ( $nick)
+
+ +

Referenced by photos_init().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
contact_remove ( $channel_id,
 $abook_id 
)
+
+ +

Referenced by connections_content().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
contacts_not_grouped ( $uid,
 $start = 0,
 $count = 0 
)
+
+ +

Referenced by nogroup_content().

+ +
+
+ +
+
+ + + + + + + +
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) if (!function_exists('contact_photo_menu')) random_profile ()
+
+ +

Referenced by randprof_init().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
remove_all_xchan_resources ( $xchan,
 $channel_id = 0 
)
+
+ +

Referenced by post_post().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
terminate_friendship ( $user,
 $self,
 $contact 
)
+
+ +
+
+ +
+
+ + + + + + + + +
user_remove ( $uid)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
vcard_from_xchan ( $xchan,
 $observer = null,
 $mode = '' 
)
+
+
+
+
+ + + + -- cgit v1.2.3 From 0ee1e83a3c6bb48064789a622f5eb7331733cb64 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 16:04:28 -0800 Subject: small doco update --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index a4aa9f102..d8475a38a 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -479,7 +479,7 @@ Functions - - - - + -- cgit v1.2.3 From 9e22ec928b9534ea9db0d18bf685fb0d357fbad2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 18 Apr 2013 21:06:31 -0700 Subject: more umbilical cutting --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index b1bf920f0..dd4ddafae 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -28,7 +28,7 @@ - + - + @@ -349,7 +349,7 @@ Functions
The Red Project
-- cgit v1.2.3 From 946554ff4b03d81f32375832b8b50883a3ffeedf Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 May 2013 03:52:06 -0700 Subject: doc update --- doc/html/Contact_8php.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index dd4ddafae..a8038ae2e 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -136,9 +136,9 @@ Functions
 
 terminate_friendship ($user, $self, $contact)
 
if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death'))
-if(!function_exists('contact_photo_menu')) 
random_profile ()
if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death'))
+if(!function_exists('contact_photo_menu')) 
random_profile ()
 
 contacts_not_grouped ($uid, $start=0, $count=0)
 
- + -- cgit v1.2.3 From 34526e82531c67995e25cf04abce0d927ce22ffd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 May 2013 03:59:11 -0700 Subject: doc cleanup --- doc/html/Contact_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index a8038ae2e..b844a29a5 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -4,7 +4,7 @@ -The Red Project: include/Contact.php File Reference +The Red Matrix: include/Contact.php File Reference @@ -30,7 +30,7 @@ -- cgit v1.2.3 From 5e4b9d7766ceffd19785f14443cc1b4d4f675d4e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 14 May 2013 21:25:58 -0700 Subject: disable pcss when installing since modules don't yet work and pcss uses the view module, plus weekly doc update --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index b844a29a5..07304c545 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -28,7 +28,7 @@
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) if (!function_exists('contact_photo_menu')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) if (!function_exists('contact_photo_menu')) random_profile ( )
-
The Red Project +
The Red Matrix
- + + + @@ -214,6 +216,22 @@ Functions

Referenced by connections_content().

+ + + +
+
+
The Red Matrix
-- cgit v1.2.3 From c02a9301215ac146c26346ebc633d7c808cea5ee Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 9 Aug 2013 01:20:34 -0700 Subject: move sitekey creation to the account creation function instead of during channel creation. Channel import bypassed sitekey creation completely. We should do it during install, but it's possible somebody might have to install manually and the sitekey would never get created. This is the best compromise I can come up with. Looks like the doc tree was also updated in this checkin --- doc/html/Contact_8php.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 07304c545..ebfab877b 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -128,6 +128,8 @@ Functions
 
 user_remove ($uid)
 
 account_remove ($account_id)
 
 channel_remove ($channel_id)
 
 remove_all_xchan_resources ($xchan, $channel_id=0)
+ + + + + + + +
account_remove ( $account_id)
+
+
@@ -230,6 +248,8 @@ Functions
+

Referenced by account_remove().

+
@@ -306,7 +326,7 @@ Functions
-

Referenced by connections_content().

+

Referenced by connections_content(), and post_post().

-- cgit v1.2.3 From b5efa1a63a621856f4f12fbd938aa3230aa0d1a9 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 17 Aug 2013 06:30:09 -0700 Subject: issue #82, posted order not working - also doc update --- doc/html/Contact_8php.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index ebfab877b..a7a11c12f 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -112,6 +112,8 @@ $(document).ready(function(){initNavTree('Contact_8php.html','');}); + + @@ -379,6 +381,34 @@ Functions

Referenced by randprof_init().

+ + + +
+
+

Functions

 rconnect_url ($channel_id, $xchan)
 
 abook_connections ($channel_id, $sql_conditions= '')
 
 abook_self ($channel_id)
+ + + + + + + + + + + + + + + + + +
rconnect_url ( $channel_id,
 $xchan 
)
+
+ +

Referenced by profile_sidebar().

+
-- cgit v1.2.3 From 381f457c3fae5dea1c76883837f18a70a55e6bb8 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 24 Aug 2013 16:52:38 -0700 Subject: fix xchans more completely after a URL change --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index a7a11c12f..4c7f6190c 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -407,7 +407,7 @@ Functions
-

Referenced by profile_sidebar().

+

Referenced by profile_sidebar().

-- cgit v1.2.3 From 96ad49b1b831d0f4e3660330750e9484eb9238bd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Sep 2013 05:43:30 -0700 Subject: doc updates --- doc/html/Contact_8php.html | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 4c7f6190c..430904dc4 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -130,10 +130,10 @@ Functions    user_remove ($uid)   - account_remove ($account_id) -  - channel_remove ($channel_id) -  + account_remove ($account_id, $local=true) +  + channel_remove ($channel_id, $local=true) +   remove_all_xchan_resources ($xchan, $channel_id=0)    contact_remove ($channel_id, $abook_id) @@ -220,7 +220,7 @@ Functions - +
@@ -228,15 +228,27 @@ Functions - + + + + + + + + + + +
account_remove (  $account_id)$account_id,
 $local = true 
)
- +
@@ -244,13 +256,23 @@ Functions - + + + + + + + + + + +
channel_remove (  $channel_id)$channel_id,
 $local = true 
)
-

Referenced by account_remove().

+

Referenced by account_remove().

-- cgit v1.2.3 From 09950745c10912f9875eb4a63793ff7e85bb7974 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 11 Oct 2013 20:43:53 -0700 Subject: doc updates --- doc/html/Contact_8php.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 430904dc4..eeb281502 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -140,9 +140,9 @@ Functions    terminate_friendship ($user, $self, $contact)   -if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death'))
-if(!function_exists('contact_photo_menu')) random_profile () +if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death'))
+if(!function_exists('contact_photo_menu')) random_profile ()    contacts_not_grouped ($uid, $start=0, $count=0)   @@ -393,7 +393,7 @@ Functions
- + -- cgit v1.2.3 From 4a87ebfc1267b04a84b278089f4482018d067786 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 18 Oct 2013 14:25:27 -0700 Subject: doc updates --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index eeb281502..f531cc3ad 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -541,7 +541,7 @@ Functions
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) if (!function_exists('contact_photo_menu')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) if (!function_exists('contact_photo_menu')) random_profile ( )
-- cgit v1.2.3 From f9a622c44ef5160942f1199dd86cfa749b79e7bc Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 15 Nov 2013 01:10:51 -0800 Subject: doc update --- doc/html/Contact_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index f531cc3ad..0926c675e 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -272,7 +272,7 @@ Functions
-

Referenced by account_remove().

+

Referenced by account_remove(), and removeme_post().

@@ -507,7 +507,7 @@ Functions -- cgit v1.2.3 From f6b43a0a7bc96e199fad8ad65e0aa63bd9a04f8b Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 22 Nov 2013 11:52:26 -0800 Subject: doc updates --- doc/html/Contact_8php.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 0926c675e..88019706d 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -244,7 +244,7 @@ Functions @@ -507,8 +507,6 @@ Functions -- cgit v1.2.3 From 8cd9a2c3a944e804c72ef461df801116c6b44ac7 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 28 Nov 2013 19:37:39 -0800 Subject: doc updates --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 88019706d..c626f3a6b 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -28,7 +28,7 @@ - + - - - - + +
The Red Matrix
-- cgit v1.2.3 From 90fff1de1c81eca9cdca8c41ec8083b72965b4a2 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 6 Dec 2013 00:11:03 -0800 Subject: doc updates --- doc/html/Contact_8php.html | 49 ++++++---------------------------------------- 1 file changed, 6 insertions(+), 43 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index c626f3a6b..ead25e6a2 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -140,12 +140,9 @@ Functions
 
 terminate_friendship ($user, $self, $contact)
 
if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death'))
-if(!function_exists('contact_photo_menu')) 
random_profile ()
 
 contacts_not_grouped ($uid, $start=0, $count=0)
 
if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death')) 
random_profile ()
 

Function Documentation

@@ -354,46 +351,12 @@ Functions - +
- - - - - - - - - - - - - - - - - - - - - - -
contacts_not_grouped ( $uid,
 $start = 0,
 $count = 0 
)
-
- -

Referenced by nogroup_content().

- -
-
- -
-
- - - + @@ -429,7 +392,7 @@ Functions
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) if (!function_exists('contact_photo_menu')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile ( )
-

Referenced by profile_sidebar().

+

Referenced by profile_sidebar().

-- cgit v1.2.3 From 916f3e9afc0dcf7f4255bac917ed6236595c7e07 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Dec 2013 01:39:05 -0800 Subject: doc updates --- doc/html/Contact_8php.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index ead25e6a2..e5f75da07 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -213,7 +213,7 @@ Functions
-

Referenced by connections_content().

+

Referenced by connedit_content().

@@ -303,6 +303,8 @@ Functions
+

Referenced by widget_photo_albums().

+
@@ -347,7 +349,7 @@ Functions
-

Referenced by connections_content(), and post_post().

+

Referenced by connedit_content(), and post_post().

@@ -502,7 +504,7 @@ Functions -- cgit v1.2.3 From 121ee48963f7da0aec45b94163d68f23a36c7744 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 27 Dec 2013 21:19:23 -0800 Subject: sslify - remove the redirect fallback - as it gets called occasionally and creates mixed content exceptions. Let's see how we go without it. Also a doc update. --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index e5f75da07..e6e4270df 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -504,7 +504,7 @@ Functions
-

Referenced by chanview_content(), message_content(), and widget_vcard().

+

Referenced by widget_vcard().

-- cgit v1.2.3 From fb49647993fec8f52e69801ce92a9882a4c95b1a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Feb 2014 00:49:45 -0800 Subject: doc updates --- doc/html/Contact_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index e6e4270df..682ad9137 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -140,8 +140,8 @@ Functions    terminate_friendship ($user, $self, $contact)   -if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death')) random_profile () +if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death')) random_profile ()  

Function Documentation

@@ -358,7 +358,7 @@ Functions
- + -- cgit v1.2.3 From 46f0de7120d0773f361e08298c99ef804330adff Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 28 Feb 2014 00:57:35 -0800 Subject: try to fix youtube mixed content warnings --- doc/html/Contact_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 682ad9137..9e1055150 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -140,8 +140,8 @@ Functions - +
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile ( )
 
 terminate_friendship ($user, $self, $contact)
 
if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death')) 
random_profile ()
if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death')) 
random_profile ()
 

Function Documentation

@@ -358,7 +358,7 @@ Functions
- + -- cgit v1.2.3 From 16c2aa042fade698ece5dcb67cde10ff8155bd65 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Mar 2014 14:30:24 -0800 Subject: doc update --- doc/html/Contact_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 9e1055150..d99d9e4f5 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -140,8 +140,8 @@ Functions - +
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile ( )
 
 terminate_friendship ($user, $self, $contact)
 
if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death')) 
random_profile ()
if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death')) 
random_profile ()
 

Function Documentation

@@ -358,7 +358,7 @@ Functions
- + -- cgit v1.2.3 From 074d2839c00aeb1400021e2cdbe432e87e0397b9 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Mar 2014 14:56:04 -0700 Subject: doc update --- doc/html/Contact_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index d99d9e4f5..f50152266 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -140,8 +140,8 @@ Functions - +
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile ( )
 
 terminate_friendship ($user, $self, $contact)
 
if(!function_exists('mark_for_death'))
-if(!function_exists('unmark_for_death')) 
random_profile ()
if(!function_exists('mark_for_death'))
+if(!function_exists('unmark_for_death')) 
random_profile ()
 

Function Documentation

@@ -358,7 +358,7 @@ Functions
- + -- cgit v1.2.3 From 3c23d1f9fe2813d91fc8d29f19f8a51d9a0a9091 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 28 Mar 2014 01:12:36 -0700 Subject: doc update --- doc/html/Contact_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index f50152266..6a685cc0d 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -241,7 +241,7 @@ Functions
if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile if (!function_exists('mark_for_death')) if (!function_exists('unmark_for_death')) random_profile ( )
-- cgit v1.2.3 From 2677ee0b49078646402409a64563392606dcc29d Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 11 Apr 2014 14:01:22 -0700 Subject: doc update --- doc/html/Contact_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index 6a685cc0d..c088ee6d8 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -241,7 +241,7 @@ Functions
@@ -269,7 +269,7 @@ Functions -- cgit v1.2.3 From c37ee6f06f1a52b08c49fe3bd6de2cc46e51a490 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 30 May 2014 02:52:29 -0700 Subject: doc updates --- doc/html/Contact_8php.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc/html/Contact_8php.html') diff --git a/doc/html/Contact_8php.html b/doc/html/Contact_8php.html index c088ee6d8..9705147f1 100644 --- a/doc/html/Contact_8php.html +++ b/doc/html/Contact_8php.html @@ -134,6 +134,8 @@ Functions    channel_remove ($channel_id, $local=true)   + mark_orphan_hubsxchans () +   remove_all_xchan_resources ($xchan, $channel_id=0)    contact_remove ($channel_id, $abook_id) @@ -351,6 +353,24 @@ Functions

Referenced by connedit_content(), and post_post().

+ + + +
+
+ + + + + + + +
mark_orphan_hubsxchans ()
+
+

mark any hubs "offline" that haven't been heard from in more than 30 days Allow them to redeem themselves if they come back later. Then go through all those that are newly marked and see if any other hubs are attached to the controlling xchan that are still alive. If not, they're dead (although they could come back some day).

+ +

Referenced by poller_run().

+
-- cgit v1.2.3