Page MenuHomePhorge

D25808.1736878648.diff
No OneTemporary

D25808.1736878648.diff

diff --git a/src/utils/utils.php b/src/utils/utils.php
--- a/src/utils/utils.php
+++ b/src/utils/utils.php
@@ -1449,22 +1449,7 @@
$trap = new PhutilErrorTrap();
try {
- $have_call = false;
- if (function_exists('parse_ini_string')) {
- if (defined('INI_SCANNER_RAW')) {
- $results = @parse_ini_string($string, true, INI_SCANNER_RAW);
- $have_call = true;
- }
- }
-
- if (!$have_call) {
- throw new PhutilMethodNotImplementedException(
- pht(
- '%s is not compatible with your version of PHP (%s). This function '.
- 'is only supported on PHP versions newer than 5.3.0.',
- __FUNCTION__,
- phpversion()));
- }
+ $results = @parse_ini_string($string, true, INI_SCANNER_RAW);
if ($results === false) {
throw new PhutilINIParserException(trim($trap->getErrorsAsString()));

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 18:17 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113936
Default Alt Text
D25808.1736878648.diff (882 B)

Event Timeline