X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/c9ab2e84d7c459e4d5e8e946be78c2e49533796e..7ddf5c391598126ec473db7b25884ee0bd94f153:/WEB-INF/lib/common.lib.php diff --git a/WEB-INF/lib/common.lib.php b/WEB-INF/lib/common.lib.php index 3644c058..124b78f5 100644 --- a/WEB-INF/lib/common.lib.php +++ b/WEB-INF/lib/common.lib.php @@ -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)); -}