mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API Work with Symfony Request
This commit is contained in:
parent
c130b55ecb
commit
c54387a143
@ -123,11 +123,6 @@ class ModelAsController extends Controller implements NestedController
|
||||
throw new Exception('ModelAsController->getNestedController(): was not passed a URLSegment value.');
|
||||
}
|
||||
|
||||
// Find page by link, regardless of current locale settings
|
||||
if (class_exists('Translatable')) {
|
||||
Translatable::disable_locale_filter();
|
||||
}
|
||||
|
||||
// url encode unless it's multibyte (already pre-encoded in the database)
|
||||
$filter = URLSegmentFilter::create();
|
||||
if (!$filter->getAllowMultibyte()) {
|
||||
|
Loading…
Reference in New Issue
Block a user