From: Michael Vogel Date: Tue, 29 Oct 2013 07:58:05 +0000 (+0100) Subject: fbsync: Temporarily removed the missleading option to import the contacts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d70505565ccb699519a57b73bfaf483e7bc130b;hp=49e383e78adc9174950f80900f4686455561c7c3;p=friendica-addons.git fbsync: Temporarily removed the missleading option to import the contacts --- 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",