com web/rmtools: simplified error message: client/include/PeclExt.php

From: Date: Wed, 18 Sep 2013 06:59:28 +0000
Subject: com web/rmtools: simplified error message: client/include/PeclExt.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-16662@lists.php.net to get a copy of this message
Commit: 48a9fac5292558cc23d211ad30e524f9b73e52d3 Author: Anatol Belski <ab@php.net> Wed, 18 Sep 2013 08:59:28 +0200 Parents: 53b1a76bf62b839139686ea69d4505944181f2ea Branches: master Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=48a9fac5292558cc23d211ad30e524f9b73e52d3 Log: simplified error message Changed paths: M client/include/PeclExt.php Diff: diff --git a/client/include/PeclExt.php b/client/include/PeclExt.php index 622e053..d47e932 100644 --- a/client/include/PeclExt.php +++ b/client/include/PeclExt.php @@ -526,11 +526,7 @@ if (!function_exists('rmtools\combinations')) { } if (!$ext_dll_found) { - if (count($ext_names) > 1) { - $msg = "None of " . implode(',', $ext_names) . " was built, build failed"; - } else { - $msg = $ext_names[0] . " was not built, build failed"; - } + $msg = "No DLL for " . implode(',', $ext_names) . " was found, build failed"; throw new \Exception($msg); }

« previous php.webmaster (#16662) next »