Merge pull request #2625 from rabuzarus/1906-event-test

frio: disable the events module link in the profile tab
This commit is contained in:
Michael Vogel 2016-06-20 14:26:27 +02:00 committed by GitHub
commit b411380c4c
1 changed files with 4 additions and 0 deletions

View 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();