X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttTeamHelper.class.php;h=217c07adb2b8599b405556948a589b95e0f70633;hb=00733333adc4c294d2fdd7b8a29aaa7a419f14f9;hp=868e67f3b3f58a7a6f820e0b357fb09cc2e9d588;hpb=d671f4b46e58c90df9b13b9346fd3bc0a8e66254;p=timetracker.git diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 868e67f3..217c07ad 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -1026,7 +1026,7 @@ class ttTeamHelper { } // enablePlugin either enables or disables a specific plugin for team. - function enablePlugin($plugin, $enable = true) + static function enablePlugin($plugin, $enable = true) { global $user; if (!$user->canManageTeam())