projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4315835
)
Remove `is_countable` polyfill from install.php
author
Tim Düsterhus
<duesterhus@woltlab.com>
Wed, 22 Sep 2021 10:30:54 +0000
(12:30 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Wed, 22 Sep 2021 10:30:54 +0000
(12:30 +0200)
see
a178c052b8ecc5b1306607955702d6acf2ac254e
wcfsetup/install.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install.php
b/wcfsetup/install.php
index 47c700e89b917f30f52374e4e99f0283d9c259cb..37ae0196c04c59eae8095b325b93f8bfa5def8bf 100644
(file)
--- a/
wcfsetup/install.php
+++ b/
wcfsetup/install.php
@@
-517,10
+517,6
@@
function handleError($errorNo, $message, $filename, $lineNo) {
throw new SystemException('PHP '.$type.' in file '.$filename.' ('.$lineNo.'): '.$message, 0);
}
-if (!function_exists('is_countable')) {
- function is_countable($var) { return is_array($var) || $var instanceof Countable || $var instanceof ResourceBundle || $var instanceof SimpleXmlElement; }
-}
-
/** @noinspection PhpMultipleClassesDeclarationsInOneFile */
/**
* BasicFileUtil contains file-related functions.