Skip to content

Commit

Permalink
Use app birthday parameter instead of checking for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers authored Jan 2, 2024
1 parent 5bc9257 commit 3c48e60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/system/classes/UpdateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1044,8 +1044,7 @@ protected function applyHttpAttributes($http, $postData)
$postData['server'] = base64_encode(serialize([
'php' => PHP_VERSION,
'url' => Url::to('/'),
// TODO: Store system boot date in `Parameter`
'since' => PluginVersion::orderBy('created_at')->first()->created_at
'since' => Parameter::get('system::app.birthday'),
]));

if ($projectId = Parameter::get('system::project.id')) {
Expand Down

0 comments on commit 3c48e60

Please sign in to comment.