]> git.mxchange.org Git - friendica.git/commitdiff
frio: disable the events module link in the profile tab
authorrabuzarus <>
Mon, 20 Jun 2016 11:44:11 +0000 (13:44 +0200)
committerrabuzarus <>
Mon, 20 Jun 2016 11:44:11 +0000 (13:44 +0200)
view/theme/frio/theme.php

index bab2d696aae3bc6c146ebe62ca54158a03bbd746..69f9267c2029b7b4ccd6b5fd06237e450f7de328 100644 (file)
@@ -12,6 +12,10 @@ $frio = "view/theme/frio";
 global $frio;
 
 function frio_init(&$a) {
+
+       // disable the events module link in the profile tab
+       $a->theme_events_in_profile = false;
+
        set_template_engine($a, 'smarty3');
 
        $baseurl = $a->get_baseurl();