Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.

Commit 03686d5

Browse files
committed
Remove path auto fixes.
1 parent b6bd60d commit 03686d5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

file_entity.install

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ function file_entity_install() {
5555
$type_storage_definition = $entity_field_manager->getFieldStorageDefinitions('file')['type'];
5656
\Drupal::entityDefinitionUpdateManager()->installFieldStorageDefinition('type', 'file', 'file_entity', $type_storage_definition);
5757

58-
// If the pathauto module already exists, update the entity schema.
59-
if (\Drupal::moduleHandler()->moduleExists('pathauto')) {
60-
$path_storage_definition = $entity_field_manager->getFieldStorageDefinitions('file')['path'];
61-
\Drupal::entityDefinitionUpdateManager()->installFieldStorageDefinition('path', 'file', 'file_entity', $path_storage_definition);
62-
}
63-
6458
// Set permissions.
6559
$roles = user_roles();
6660
foreach ($roles as $rid => $role) {

0 commit comments

Comments
 (0)