summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-06 22:26:56 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-06 22:26:56 +0100
commitd34fae3c407689a465486dccbb0f72ac9d4e1198 (patch)
tree2a0df40c0323f467f3410f59eae79e62efff171b /public/index.php
parent8261933bec7d6009e392f64aec7371dabb5149a6 (diff)
move hints to toolbar
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/public/index.php b/public/index.php
index 03bc3869..a64ec237 100644
--- a/public/index.php
+++ b/public/index.php
@@ -93,27 +93,6 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i
$title = $p;
$content = "";
- if (isset($user)) {
- if (User_is_freeloader($user))
- error(sprintf(_("You freeloaded at least %s shifts. Shift signup is locked. Please go to heavens desk to be unlocked again."), $max_freeloadable_shifts));
-
- // Hinweis für Engel, die noch nicht angekommen sind
- if ($user['Gekommen'] == 0)
- error(_("You are not marked as arrived. Please go to heaven's desk, get your angel badge and/or tell them that you arrived already."));
-
- if ($enable_tshirt_size && $user['Size'] == "")
- error(_("You need to specify a tshirt size in your settings!"));
-
- if ($user['DECT'] == "")
- error(_("You need to specify a DECT phone number in your settings! If you don't have a DECT phone, just enter \"-\"."));
-
- // Erzengel Hinweis für unbeantwortete Fragen
- if ($p != "admin_questions")
- admin_new_questions();
-
- user_angeltypes_unconfirmed_hint();
- }
-
if ($p == "api") {
require_once realpath(__DIR__ . '/../includes/controller/api.php');
error("Api disabled temporily.");