]> wagnertech.de Git - timetracker.git/blobdiff - client_delete.php
Moving away from using the timestamp field.
[timetracker.git] / client_delete.php
index 2340db03f73de6bfb33d0bfbb47a3dfeb0f182e3..eae300500a111c8b0ab6ec337c5556cb0d51f917 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttClientHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) {
   header('Location: access_denied.php');
   exit();
 }