mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36:13 +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 <?php
if (!defined ('TYPO3_MODE')) { defined('TYPO3_MODE') or die('Access denied.');
die ('Access denied.');
}
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array( $GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'], 'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'],

View file

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

View file

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

View file

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

View file

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

View file

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