mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 22:26:11 +01:00

[CLEANUP] Shorten the die() line

This commit is contained in:
Oliver Klee 2014-12-14 15:26:17 +01:00
parent 1e248f4bb0
commit 5a33bc2a85
6 changed files with 6 additions and 18 deletions

View file

@ -1,7 +1,5 @@
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
defined('TYPO3_MODE') or die('Access denied.');
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'],

View file

@ -1,7 +1,5 @@
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
defined('TYPO3_MODE') or die('Access denied.');
$GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = array(
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teabeverage']['ctrl'],

View file

@ -1,7 +1,5 @@
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
defined('TYPO3_MODE') or die('Access denied.');
$GLOBALS['TCA']['tx_tea_domain_model_teatype'] = array(
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teatype']['ctrl'],

View file

@ -1,7 +1,5 @@
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
defined('TYPO3_MODE') or die('Access denied.');
$GLOBALS['TCA']['tx_tea_domain_model_testimonial'] = array(
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_testimonial']['ctrl'],

View file

@ -1,7 +1,5 @@
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
defined('TYPO3_MODE') or die('Access denied.');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'OliverKlee.' . $_EXTKEY,

View file

@ -1,7 +1,5 @@
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
defined('TYPO3_MODE') or die('Access denied.');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'OliverKlee.' . $_EXTKEY,