@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | try{ |
98 | 98 | JobContext::removeJobByUser($user); |
99 | 99 | $repo->remove($user,true); |
100 | - }catch (\Exception $e){ |
|
100 | + } catch (\Exception $e){ |
|
101 | 101 | |
102 | 102 | } |
103 | 103 | } |
@@ -297,7 +297,7 @@ discard block |
||
297 | 297 | $organization->setOrganizationName($organizationName); |
298 | 298 | $permissions = $organization->getPermissions(); |
299 | 299 | $permissions->grant($user,Permissions::PERMISSION_ALL); |
300 | - }else { |
|
300 | + } else { |
|
301 | 301 | $organization->getPermissions()->grant($user,Permissions::PERMISSION_ALL); |
302 | 302 | } |
303 | 303 | $organization->setUser($user); |