Don't show the rendertime data and jappix in minimal mode.

This commit is contained in:
Michael Vogel 2015-09-26 11:00:16 +02:00
parent 39cdc9c4aa
commit a01db4346a
2 changed files with 4 additions and 1 deletions

View file

@ -439,6 +439,9 @@ function jappixmini_script(&$a,&$s) {
if(! local_user()) return;
if ($_GET["mode"] == "minimal")
return;
$activate = get_pconfig(local_user(),'jappixmini','activate');
$dontinsertchat = get_pconfig(local_user(), 'jappixmini','dontinsertchat');
if (!$activate or $dontinsertchat) return;