diff --git a/localgov.install b/localgov.install index e74ff19..933ff2b 100644 --- a/localgov.install +++ b/localgov.install @@ -5,7 +5,6 @@ * Install functions for the LocalGovInstall installation profile. */ -use Drupal\user\Entity\User; use Drupal\views\Entity\View; /** @@ -19,11 +18,6 @@ function localgov_install() { $config_factory = \Drupal::configFactory(); - // Assign user 1 the "administrator" role. - $user = User::load(1); - $user->roles[] = 'administrator'; - $user->save(); - // Disable the frontpage view. $frontpage_view = View::load('frontpage'); $frontpage_view->setStatus(FALSE)->save();