diff --git a/src/Extension/FluentExtension.php b/src/Extension/FluentExtension.php index 69b2cc57..737c7c2d 100644 --- a/src/Extension/FluentExtension.php +++ b/src/Extension/FluentExtension.php @@ -7,7 +7,6 @@ use SilverStripe\Core\Config\Config; use SilverStripe\Core\Convert; use SilverStripe\Core\Extension; -use SilverStripe\Dev\Deprecation; use SilverStripe\Forms\FieldList; use SilverStripe\Forms\FormField; use SilverStripe\Forms\GridField\GridField_ActionMenuItem; @@ -1045,19 +1044,6 @@ public function getLocaleInstances(): array return $locales; } - /** - * Return the linking mode for the current locale and object - * - * @param string $locale - * @return string - * @deprecated 5.0 use LocaleInformation() instead - */ - public function getLinkingMode($locale) - { - Deprecation::notice('5.0', 'Use LocaleInformation instead'); - return $this->LocaleInformation($locale)->getLinkingMode(); - } - /** * Determine the baseurl within a specified $locale. * @@ -1073,17 +1059,6 @@ public function BaseURLForLocale($locale) return $localeObject->getBaseURL(); } - /** - * @param string $locale - * @return string - * @deprecated Use LocaleInformation instead - */ - public function LocaleLink($locale) - { - Deprecation::notice('5.0', 'Use LocaleInformation instead'); - return $this->LocaleInformation($locale)->getLink(); - } - /** * Ensure has_one cache is segmented by locale *