[TASK] Move config.beLoginLinkIPList to compat7
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Controller / TypoScriptFrontendController.php
index f71b2df..4c9a5c5 100644 (file)
@@ -3891,9 +3891,11 @@ class TypoScriptFrontendController
      * Returns a link to the BE login screen with redirect to the front-end
      *
      * @return string HTML, a tag for a link to the backend.
+     * @deprecated since TYPO3 v8, will be removed in TYPO3 v9
      */
     public function beLoginLinkIPList()
     {
+        GeneralUtility::logDeprecatedFunction();
         if (!empty($this->config['config']['beLoginLinkIPList'])) {
             if (GeneralUtility::cmpIP(GeneralUtility::getIndpEnv('REMOTE_ADDR'), $this->config['config']['beLoginLinkIPList'])) {
                 $label = !$this->beUserLogin ? $this->config['config']['beLoginLinkIPList_login'] : $this->config['config']['beLoginLinkIPList_logout'];