Skip to content

Commit

Permalink
API Remove deprecated methods.
Browse files Browse the repository at this point in the history
These methods are not in use and have been deprecated since fluent 5.
  • Loading branch information
GuySartorelli committed Feb 16, 2023
1 parent 3d854e2 commit 1af962f
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/Extension/FluentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
*
Expand All @@ -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
*
Expand Down

0 comments on commit 1af962f

Please sign in to comment.