Skip to content

Commit 14eb9a8

Browse files
committed
Revert experiment change
1 parent a4c55c3 commit 14eb9a8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

www/experiments.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,9 @@
141141
?>
142142

143143
<?php
144-
$isSaaSTest = (stripos($id, '_saas_') !== false);
145-
$isInstantTest = (stripos($id, '_instant_') !== false);
146-
$isAdmin = isset($request_context) && $request_context->getUser()->isAdmin();
147144
if (
148145
!$headless && gz_is_file("$testPath/testinfo.json")
149-
&& (!array_key_exists('published', $test['testinfo']) || (($isSaaSTest || $isInstantTest) && $isAdmin))
146+
&& !array_key_exists('published', $test['testinfo'])
150147
&& ($isOwner || !$test['testinfo']['sensitive'])
151148
&& (!isset($test['testinfo']['type']) || !strlen($test['testinfo']['type']))
152149
) {

0 commit comments

Comments
 (0)