From 6cf8c393b513749821b2e667f0a846df7673e7dd Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 14 Feb 2024 11:24:40 +0100 Subject: [PATCH] Remove polyfills for php 5.4 and 5.6 --- composer.json | 1 - inc/polyfill.php | 28 ---------------------------- 2 files changed, 29 deletions(-) delete mode 100644 inc/polyfill.php diff --git a/composer.json b/composer.json index a9e17c7e..ff22c18b 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,6 @@ "inc/mod/auth.php", "inc/lock.php", "inc/queue.php", - "inc/polyfill.php", "inc/functions.php" ] }, diff --git a/inc/polyfill.php b/inc/polyfill.php deleted file mode 100644 index ac40a00a..00000000 --- a/inc/polyfill.php +++ /dev/null @@ -1,28 +0,0 @@ - $i ? $i : 0]) ^ ord($theirs[$i]); - } - - return $answer === 0 && $olen === $tlen; - } -}