commit | c4ced6d98377018f8851232741e7cde9013e586c | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Thu Dec 22 19:37:32 2022 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Thu Dec 22 19:37:32 2022 +0100 |
tree | 2eb98b95c52050cdeaab56dae419a0481da397fd | |
parent | e2e00ba9c2befca88af89b8b8a15025aefcb7e03 [diff] [blame] |
Add all vs all mode Change-Id: I4a379704ab869e5301ae211ae31ee0f8d66620ee
diff --git a/credentials.php b/credentials.php index 600bfa5..409409f 100644 --- a/credentials.php +++ b/credentials.php
@@ -28,4 +28,12 @@ public static function adminToken() { return getenv('ADMIN_TOKEN'); } + + public static function isAllVsAllModeEnabled() { + return self::allVsAllMode() == 1 || self::allVsAllMode() == 'true'; + } + + public static function allVsAllMode() { + return getenv('ALL_VS_ALL_MODE'); + } };