From: Samu Voutilainen Date: Wed, 21 May 2014 10:53:04 +0000 (+0300) Subject: xmlrpc.inc: removed dl("xml.so") X-Git-Tag: 4.0.0-alpha^2~212^2~4^2~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7bf4299d632ba89869f755cd849bed839841db45;p=plcapi.git xmlrpc.inc: removed dl("xml.so") This function has been deprecated and removed from php-5.3 and upwards, and was only useful for PHP 4, which is not supported anymore. --- diff --git a/ChangeLog b/ChangeLog index 2c6dda76..1ac38ee3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2014-02-3 - G. Giunta (giunta.gaetano@gmail.com) +2014-05-12 - Samu Voutilainen (smar@smar.fi) + + * removed obsolete xml.so open; dl() is deprecated and removed from 5.3.0 + +2014-02-03 - G. Giunta (giunta.gaetano@gmail.com) * bumped up requirements to php 5.1.0 diff --git a/lib/xmlrpc.inc b/lib/xmlrpc.inc index aeaf4be2..d87f6ebc 100644 --- a/lib/xmlrpc.inc +++ b/lib/xmlrpc.inc @@ -34,16 +34,6 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED // OF THE POSSIBILITY OF SUCH DAMAGE. - if(!function_exists('xml_parser_create')) - { - // For PHP 4 onward, XML functionality is always compiled-in on windows: - // no more need to dl-open it. It might have been compiled out on *nix... - if(strtoupper(substr(PHP_OS, 0, 3) != 'WIN')) - { - dl('xml.so'); - } - } - // G. Giunta 2005/01/29: declare global these variables, // so that xmlrpc.inc will work even if included from within a function // Milosch: 2005/08/07 - explicitly request these via $GLOBALS where used.