]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/common.lib.php
Wrote ttUser::isPluginEnabled() function.
[timetracker.git] / WEB-INF / lib / common.lib.php
index 3644c0587471ac433005eb93b83010c60785490a..124b78f5887823c3d13a61370f96008d4561e21d 100644 (file)
@@ -340,10 +340,3 @@ function ttAccessCheck($required_rights)
     
   return true;
 }
-
-// ttPluginEnabled is used to check whether a plugin is enabled for user.
-function ttPluginEnabled($plugin)
-{
-  global $user;
-  return in_array($plugin, explode(',', $user->plugins));
-}