Skip to content

Commit 9d96a34

Browse files
committed
Refactor logModuleCall to have same module name in balance widget
1 parent 996fee3 commit 9d96a34

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/registrars/openprovider/Controllers/Hooks/AdminWidgetController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private function cleanupLegacyBalanceWidget(): void
3030
@unlink($legacyWidgetPath);
3131

3232
logModuleCall(
33-
'openprovider nl',
33+
'OpenProvider NL',
3434
'cleanupLegacyBalanceWidget',
3535
null,
3636
'Removed legacy BalanceWidget file to prevent duplicate widgets.',

modules/registrars/openprovider/Controllers/Hooks/Widgets/BalanceWidget.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function getModuleVersionStatus(): string
135135

136136
// Check if both versions are valid
137137
if (empty($installedVersion) || empty($availableVersion)) {
138-
logModuleCall('Openprovider', 'module version retrieval', "Failed to retrieve openprovider version", null, null, null);
138+
logModuleCall('OpenProvider NL', 'module version retrieval', "Failed to retrieve openprovider version", null, null, null);
139139
return $versionResult;
140140
}
141141

@@ -148,7 +148,7 @@ private function getModuleVersionStatus(): string
148148
return $versionResult;
149149
} catch (\Throwable $e) {
150150
logModuleCall(
151-
'Openprovider',
151+
'OpenProvider NL',
152152
'module version retrieval',
153153
'Failed to retrieve Openprovider version',
154154
$e->getMessage(),

0 commit comments

Comments
 (0)