]> BookStack Code Mirror - bookstack/commitdiff
Removed joint_permission generation in older migration
authorDan Brown <redacted>
Thu, 20 Sep 2018 15:03:01 +0000 (16:03 +0100)
committerDan Brown <redacted>
Thu, 20 Sep 2018 15:03:01 +0000 (16:03 +0100)
database/migrations/2016_04_20_192649_create_joint_permissions_table.php

index 4c1b43c4e77a5cf60df0fa73be786c58518652c5..ce11f7b88efb19174f5cfa23783f62afc3a68244 100644 (file)
@@ -74,10 +74,6 @@ class CreateJointPermissionsTable extends Migration
 
         // Update admin role with system name
         DB::table('roles')->where('name', '=', 'admin')->update(['system_name' => 'admin']);
-
-        // Generate the new entity jointPermissions
-        $restrictionService = app(\BookStack\Services\PermissionService::class);
-        $restrictionService->buildJointPermissions();
     }
 
     /**