mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 09:05:59 +00:00
Fixed deprecated function usage (#33)
This commit is contained in:
parent
319a7faeac
commit
1a4b284b32
@ -77,7 +77,7 @@ class TranslatableCMSMainExtension extends Extension {
|
||||
$langCode
|
||||
);
|
||||
|
||||
return Director::redirect($url);
|
||||
return $this->owner->redirect($url);
|
||||
}
|
||||
|
||||
function updateLink(&$link) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user