From 3d70505565ccb699519a57b73bfaf483e7bc130b Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 29 Oct 2013 08:58:05 +0100 Subject: [PATCH] fbsync: Temporarily removed the missleading option to import the contacts --- fbsync/fbsync.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fbsync/fbsync.php b/fbsync/fbsync.php index 6e5ef2c9..7babfcb2 100644 --- a/fbsync/fbsync.php +++ b/fbsync/fbsync.php @@ -62,12 +62,12 @@ function fbsync_settings(&$a,&$s) { $s .= ''; $s .= ''; $s .= '
'; - +/* $s .= '
'; $s .= ''; $s .= ''; $s .= '
'; - +*/ /* provide a submit button */ $s .= '
'; @@ -78,7 +78,7 @@ function fbsync_settings_post(&$a,&$b) { if(x($_POST,'fbsync-submit')) { set_pconfig(local_user(),'fbsync','sync',intval($_POST['fbsync'])); - set_pconfig(local_user(),'fbsync','create_user',intval($_POST['create_user'])); + //set_pconfig(local_user(),'fbsync','create_user',intval($_POST['create_user'])); } } @@ -643,7 +643,8 @@ function fbsync_fetchfeed($a, $uid) { $last_updated = get_pconfig($uid,'fbsync','last_updated'); $self_id = get_pconfig($uid,'fbsync','self_id'); - $create_user = get_pconfig($uid, 'fbsybc', 'create_user'); + //$create_user = get_pconfig($uid, 'fbsybc', 'create_user'); + $create_user = true; $do_likes = get_config('fbsync', 'do_likes'); $self = q("SELECT * FROM `contact` WHERE `self` = 1 AND `uid` = %d LIMIT 1", -- 2.39.5