summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-15 16:58:12 +0100
committermsquare <msquare@notrademark.de>2016-11-15 16:58:12 +0100
commitec40e10ebd3c343f393a11d8120d197996e4bd69 (patch)
tree436489577903d112461d9865f0f452386f5846d7 /includes/view
parent53a306f14b22a897cfbda1bd13b94564116417db (diff)
fix unused code
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/User_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index ef7abad6..6cd48899 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -426,7 +426,7 @@ function render_user_departure_date_hint() {
}
function render_user_freeloader_hint() {
- global $user;
+ global $user, $max_freeloadable_shifts;
if (User_is_freeloader($user)) {
return sprintf(_("You freeloaded at least %s shifts. Shift signup is locked. Please go to heavens desk to be unlocked again."), $max_freeloadable_shifts);