Skip to content

Commit 28fc3af

Browse files
committed
Fix
1 parent 1028cbf commit 28fc3af

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

www/home.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,8 @@
8585
$is_free = !is_null($user) && $user->isFree();
8686
$is_anon = is_null($user) || $user->isAnon();
8787

88-
if ($is_free) {
89-
$max_runs = Util::getSetting('max_runs_free_user', 1);
90-
}
91-
9288
$is_logged_in = Util::getSetting('cp_auth') && (!is_null($request_context->getClient()) && $request_context->getClient()->isAuthenticated());
93-
$remaining_runs = !is_null($user) ? $user->getRemainingRuns() : 150;
89+
$remaining_runs = !is_null($user) ? $user->getRemainingRuns() : 300;
9490
$hasNoRunsLeft = $is_logged_in ? (int)$remaining_runs <= 0 : false;
9591

9692
$Timers->endTimer('status');

0 commit comments

Comments
 (0)