[!!!][TASK] Remove of base constant TYPO3_URL_ORG 45/42345/3
authorManuel Selbach <manuel_selbach@yahoo.de>
Fri, 7 Aug 2015 07:55:26 +0000 (09:55 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 7 Aug 2015 08:13:54 +0000 (10:13 +0200)
Base constant TYPO3_URL_ORG defined in
SystemEnvironmentBuilder::defineBaseConstants() was removed.
Was for internal usage only and defined at 2 places in the core.

Resolves: #68814
Releases: master
Change-Id: I16e94f572ee6c1e84ff0f358c3092d7fe6ad93cd
Reviewed-on: http://review.typo3.org/42345
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-68814-RemoveOfBaseConstantTYPO3_URL_ORG.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Page/PageGenerator.php
typo3/sysext/install/Resources/Private/Partials/Action/Common/Copyright.html

index 200e26c..f9ea553 100644 (file)
@@ -90,7 +90,6 @@ class SystemEnvironmentBuilder {
 
                // TYPO3 external links
                define('TYPO3_URL_GENERAL', 'http://typo3.org/');
-               define('TYPO3_URL_ORG', 'http://typo3.org/');
                define('TYPO3_URL_LICENSE', 'http://typo3.org/typo3-cms/overview/licenses/');
                define('TYPO3_URL_EXCEPTION', 'http://typo3.org/go/exception/CMS/');
                define('TYPO3_URL_MAILINGLISTS', 'http://lists.typo3.org/cgi-bin/mailman/listinfo');
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-68814-RemoveOfBaseConstantTYPO3_URL_ORG.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-68814-RemoveOfBaseConstantTYPO3_URL_ORG.rst
new file mode 100644 (file)
index 0000000..c882bca
--- /dev/null
@@ -0,0 +1,21 @@
+========================================================
+Breaking: #68814 - Remove of base constant TYPO3_URL_ORG
+========================================================
+
+Description
+===========
+
+Base constant TYPO3_URL_ORG defined in SystemEnvironmentBuilder::defineBaseConstants() can be removed.
+It´s for internal usage only and defined at 2 places in the core.
+
+
+Impact
+======
+
+Constant TYPO3_URL_ORG no longer exists.
+
+
+Migration
+=========
+
+Use TYPO3_URL_GENERAL instead.
\ No newline at end of file
index ced0a61..e1e377b 100644 (file)
@@ -386,7 +386,7 @@ class PageGenerator {
                $pageRenderer->addInlineComment('       This website is powered by TYPO3 - inspiring people to share!
        TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
        TYPO3 is copyright ' . TYPO3_copyright_year . ' of Kasper Skaarhoj. Extensions are copyright of their respective owners.
-       Information and contribution at ' . TYPO3_URL_ORG . '
+       Information and contribution at ' . TYPO3_URL_GENERAL . '
 ');
                if ($tsfe->baseUrl) {
                        $pageRenderer->setBaseUrl($tsfe->baseUrl);
index 3aaeceb..c0e832e 100644 (file)
@@ -12,6 +12,6 @@
        </p>
        <p>
                <a href="{i:constant(name: 'TYPO3_URL_DONATE')}"><strong>Donate</strong></a> |
-               <a href="{i:constant(name: 'TYPO3_URL_ORG')}">TYPO3.org</a>
+               <a href="{i:constant(name: 'TYPO3_URL_GENERAL')}">TYPO3.org</a>
        </p>
 </div>
\ No newline at end of file