]> wagnertech.de Git - timetracker.git/blobdiff - quotas.php
A bit more refactoring.
[timetracker.git] / quotas.php
index 68b8a6198756deca8cb61f369d6b593f2b33da06..d846ae25d79196f4c5449bb33941caea26486738 100644 (file)
@@ -32,7 +32,7 @@ import('form.Form');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('mq')) {
   header('Location: access_denied.php');
   exit();
 }