Skip to content

Commit 2da8042

Browse files
committed
Fix clock() usage causing errors in prod environments
1 parent 07f1ef4 commit 2da8042

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ This file is a running track of new features and fixes to each version of the pa
33

44
This project follows [Semantic Versioning](http://semver.org) guidelines.
55

6+
## v1.10.1
7+
### Fixed
8+
* Fixes a surprise `clock()` function that was used for debugging and should not have made it into the release. This was causing activity events to not properly sync between the Panel and Wings.
9+
610
## v1.10.0
711
### Fixed
812
* Fixes improper cache key naming on the frontend causing server activity logs to be duplicated across server page views.

app/Http/Controllers/Api/Remote/ActivityProcessingController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public function __invoke(ActivityEventRequest $request)
2626
$servers = $node->servers()->whereIn('uuid', $request->servers())->get()->keyBy('uuid');
2727
$users = User::query()->whereIn('uuid', $request->users())->get()->keyBy('uuid');
2828

29-
clock()->log($request->input('data'));
30-
3129
$logs = [];
3230
foreach ($request->input('data') as $datum) {
3331
/** @var \Pterodactyl\Models\Server|null $server */

0 commit comments

Comments
 (0)