diff core/modules/user/src/Controller/UserController.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
line wrap: on
line diff
--- a/core/modules/user/src/Controller/UserController.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/core/modules/user/src/Controller/UserController.php	Tue Jul 10 15:07:59 2018 +0100
@@ -312,7 +312,7 @@
         // Since user_cancel() is not invoked via Form API, batch processing
         // needs to be invoked manually and should redirect to the front page
         // after completion.
-        return batch_process('');
+        return batch_process('<front>');
       }
       else {
         drupal_set_message(t('You have tried to use an account cancellation link that has expired. Please request a new one using the form below.'), 'error');