import('ttTeamHelper');
// Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('mq')) {
header('Location: access_denied.php');
exit();
}
}
}
-// Returns monthly quotas where January is month 1, not 0.
+// Get monthly quotas for the entire year.
$monthsData = $quota->get($selectedYear);
$form = new Form('monthlyQuotasForm');