From: Roland Häder Date: Fri, 31 Jul 2009 19:06:48 +0000 (+0000) Subject: Centralized in core X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=d8ec35e39c3def6c60c7379cb805372f37e80faa;hp=4360e46ad59d2f7ee32d02d71124b609fd323be7 Centralized in core --- diff --git a/inc/classes/main/helper/web/links/class_WebLinkHelper.php b/inc/classes/main/helper/web/links/class_WebLinkHelper.php index 5b4a9220..6c5b578f 100644 --- a/inc/classes/main/helper/web/links/class_WebLinkHelper.php +++ b/inc/classes/main/helper/web/links/class_WebLinkHelper.php @@ -94,12 +94,12 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate { $page = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('page')); // Construct config entry - $configEntry = $page . '_' . $linkName; + $configEntry = $page . '_' . $linkName . '_action'; // Is the deprecated parameter set? if (!is_null($linkBase)) { // Then output a deprecation message - $helperInstance->deprecationWarning(__METHOD__ . ': linkBase is deprecated. Please remove it from your templates and add a config entry ' . $configEntry . '_action in your config.php file.'); + $helperInstance->deprecationWarning(__METHOD__ . ': linkBase is deprecated. Please remove it from your templates and add a config entry ' . $configEntry . ' in your config.php file.'); } // END - if // Determine link base from config now and 'page' request