Skip to content

Commit

Permalink
revert(home): remove details about user limit
Browse files Browse the repository at this point in the history
It appears that environment file is only updated on build and it retains
until another build occurs.

This reverts commit 7e5e18b.
  • Loading branch information
KennethTrecy committed Aug 11, 2024
1 parent f435e6a commit 4ca8deb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/Controllers/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace App\Controllers;

use Config\App;

class Home extends BaseController
{
public function index()
Expand All @@ -13,10 +11,7 @@ public function index()
"data" => [
"csrf_token" => csrf_hash()
],
"meta" => array_merge($metadata, [
"userCountLimit" => (new App())->userCountLimit,
"environment" => $_ENV["CI_ENVIRONMENT"]
])
"meta" => $metadata
]);
}
}

0 comments on commit 4ca8deb

Please sign in to comment.