Skip to content

Commit

Permalink
remove old
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 17, 2018
1 parent c281787 commit 6e85490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/i18n/I18N.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ class I18N extends \yii\i18n\I18N
*/
public function init()
{
if ($this->translations) {
/*if ($this->translations) {
foreach ($this->translations as $key => $data)
{
if (!isset($data['on missingTranslation'])) {
$data['on missingTranslation'] = $this->missingTranslationHandler;
$this->translations[$key] = $data;
}
}
}
}*/

parent::init();
}
Expand Down

0 comments on commit 6e85490

Please sign in to comment.