]> git.mxchange.org Git - friendica-addons.git/blob - facebook_restrict/facebook_restrict.php
c0720edc3ee43de676c9f0b672a4e870fc06ef71
[friendica-addons.git] / facebook_restrict / facebook_restrict.php
1 <?php
2
3 /**
4  * Name: Facebook Restrict
5  * Description: Install this addon and Facebook users will not be able to link friends. Existing users that are linking friends will not be affected.
6  * Version: 1.0
7  * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
8  * Status: Unsupported
9  */
10
11
12 function facebook_restrict_install() {
13         set_config('facebook','restrict',1);
14 }
15
16 function facebook_restrict_uninstall() {
17         set_config('facebook','restrict',0);
18 }
19