Skip to content

Commit 20b1fda

Browse files
authored
Merge pull request #797 from localgovdrupal/3.x
Release 3.0.13
2 parents e3c0f2a + 567eea8 commit 20b1fda

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

localgov.install

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Install functions for the LocalGovInstall installation profile.
66
*/
77

8-
use Drupal\user\Entity\User;
98
use Drupal\views\Entity\View;
109

1110
/**
@@ -19,11 +18,6 @@ function localgov_install() {
1918

2019
$config_factory = \Drupal::configFactory();
2120

22-
// Assign user 1 the "administrator" role.
23-
$user = User::load(1);
24-
$user->roles[] = 'administrator';
25-
$user->save();
26-
2721
// Disable the frontpage view.
2822
$frontpage_view = View::load('frontpage');
2923
$frontpage_view->setStatus(FALSE)->save();

0 commit comments

Comments
 (0)