Commit 36947918 authored by changi67's avatar changi67

Check feature

parent bdb9c43d
......@@ -8,15 +8,7 @@
$section = 'mytiki';
require_once ('tiki-setup.php');
require_once ('lib/socialnetworkslib.php');
// Feature available?
if ($prefs['feature_socialnetworks'] !='y') {
$smarty->assign('msg', tra("This feature is disabled") . ": feature_socialnetworks");
$access->check_permission('tiki_p_socialnetworks',tra('Social networks'));
if (isset($_REQUEST['request_twitter'])) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment