updated core from 8.4 to 8.5 : bug with login_destination
This commit is contained in:
@@ -200,7 +200,7 @@ function locale_translate_batch_import($file, array $options, &$context) {
|
||||
try {
|
||||
if (empty($context['sandbox'])) {
|
||||
$context['sandbox']['parse_state'] = [
|
||||
'filesize' => filesize(drupal_realpath($file->uri)),
|
||||
'filesize' => filesize(\Drupal::service('file_system')->realpath($file->uri)),
|
||||
'chunk_size' => 200,
|
||||
'seek' => 0,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user