Skip to content
Permalink
Browse files

Remove deprecated defaultLocale() call

  • Loading branch information...
cleptric committed Jul 27, 2017
1 parent 02e4685 commit f0ebd6ab3cd253e95c7a93ce316891db1d371025
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/Behavior/TranslateBehavior.php
@@ -99,7 +99,7 @@ class TranslateBehavior extends Behavior implements PropertyMarshalInterface
public function __construct(Table $table, array $config = [])
{
$config += [
'defaultLocale' => I18n::defaultLocale(),
'defaultLocale' => I18n::getDefaultLocale(),
'referenceName' => $this->_referenceName($table)
];

0 comments on commit f0ebd6a

Please sign in to comment.
You can’t perform that action at this time.