Skip to content
Snippets Groups Projects

Issue #3297229 by _tarik_: Drupal 10 compatibility fixes

4 files
+ 7
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -51,7 +51,7 @@ class FileService implements FileServiceInterface {
// If current file exists.
if (realpath($this->fileSystem->realpath($file->getFileUri()))) {
// Move file
file_move($file, $new_uri);
\Drupal::service('file.repository')->move($file, $new_uri);
}
else {
// if current file not exists
@@ -64,4 +64,4 @@ class FileService implements FileServiceInterface {
}
}
}
\ No newline at end of file
}
Loading