Skip to content

Commit a94c6b2

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 119b882 + 6edecee commit a94c6b2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `inspirecms-core` will be documented in this file.
44

5+
## 0.0.55 - 2025-05-20
6+
7+
**Full Changelog**: https://github.com/solutionforest/Inspirecms-core/compare/0.0.54...0.0.55
8+
59
## 0.0.54 - 2025-05-20
610

711
**Full Changelog**: https://github.com/solutionforest/Inspirecms-core/compare/0.0.53...0.0.54

src/helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ function has_super_admin_role($user): bool
116116
$roleName = inspirecms_permissions()->getSuperAdminRoleName();
117117
$guardName = AuthHelper::guardName();
118118

119-
120119
try {
121120
if (in_array('Spatie\Permission\Traits\HasRoles', trait_uses_recursive($user))) {
122121
return $user->hasRole($roleName, $guardName);

0 commit comments

Comments
 (0)