]> git.mxchange.org Git - friendica-addons.git/blob - facebook_restrict/facebook_restrict.php
Posterous tarball
[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  */
9
10
11 function facebook_restrict_install() {
12         set_config('facebook','restrict',1);
13 }
14
15 function facebook_restrict_uninstall() {
16         set_config('facebook','restrict',0);
17 }
18