diff --git a/pathauto.module b/pathauto.module
index 1b0d122..d0763fa 100644
--- a/pathauto.module
+++ b/pathauto.module
@@ -84,26 +84,6 @@ function pathauto_help($route_name, RouteMatchInterface $route_match) {
 }
 
 /**
- * Implements hook_entity_presave().
- */
-function pathauto_entity_presave($entity) {
-  if (!($entity instanceof ContentEntityInterface) || !$entity->hasField('path')) {
-    return;
-  }
-
-  // About to be saved (before insert/update)
-  if ($entity->path->pathauto == PathautoState::SKIP && $entity->path->old_alias != '') {
-    /*
-     * There was an old alias, but when pathauto_perform_alias was checked
-     * the JavaScript disabled the textbox which led to an empty value being
-     * submitted. Restoring the old path-value here prevents the Path module
-     * from deleting any old alias before Pathauto gets control.
-     */
-    $entity->path->alias = $entity->path->old_alias;
-  }
-}
-
-/**
  * Implements hook_entity_insert().
  */
 function pathauto_entity_insert(EntityInterface $entity) {
diff --git a/src/PathautoWidget.php b/src/PathautoWidget.php
index 09362b4..3ca0490 100644
--- a/src/PathautoWidget.php
+++ b/src/PathautoWidget.php
@@ -62,24 +62,9 @@ class PathautoWidget extends PathWidget {
     // alias checkbox is checked.
     $element['alias']['#states']['disabled']['input[name="path[' . $delta . '][pathauto]"]'] = array('checked' => TRUE);
 
-
     // Override path.module's vertical tabs summary.
     $element['alias']['#attached']['library'] = ['pathauto/widget'];
 
-    if ($entity->path->pathauto == PathautoState::CREATE && !empty($entity->path->old_alias) && empty($entity->path->alias)) {
-      $element['alias']['#default_value'] = $entity->path->old_alias;
-      $entity->path->alias = $entity->path->old_alias;
-    }
-
-    // For Pathauto to remember the old alias and prevent the Path module from
-    // deleting it when Pathauto wants to preserve it.
-    if (!empty($entity->path->alias)) {
-      $element['old_alias'] = array(
-        '#type' => 'value',
-        '#value' => $entity->path->alias,
-      );
-    }
-
     return $element;
   }
 
