Commit cd6154ec authored by Benni Mack's avatar Benni Mack Committed by Thomas Löffler
Browse files

[FEATURE] Let admin users upload without dependency check

parent f4c02571
Pipeline #633 passed with stages
in 3 minutes and 16 seconds
......@@ -169,7 +169,7 @@ class tx_ter_api
);
}
if (($typo3DependencyCheck = $this->checkExtensionDependencyOnSupportedTypo3Version($extensionInfoData)) !== true) {
if (($typo3DependencyCheck = $this->checkExtensionDependencyOnSupportedTypo3Version($extensionInfoData)) !== true && $uploadUserRecordArr['admin'] !== true) {
switch ($typo3DependencyCheck) {
case TX_TER_ERROR_UPLOADEXTENSION_TYPO3DEPENDENCYINCORRECT:
$message = 'Extension does not have a dependency for a supported version of TYPO3. See http://typo3.org/news/article/announcing-ter-cleanup-process/ for how to fix this.';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment