]> granicus.if.org Git - php/commitdiff
As the line below says - there shouldn't be an exception here.
authorSteph Fox <sfox@php.net>
Thu, 21 Feb 2008 18:51:54 +0000 (18:51 +0000)
committerSteph Fox <sfox@php.net>
Thu, 21 Feb 2008 18:51:54 +0000 (18:51 +0000)
ext/phar/phar_object.c

index aee70b48b2fe209263f0a2e9e0dfff71b352dbc7..7085d9f03075baa6a3d4b5f020369f598a5bb54c 100755 (executable)
@@ -1691,8 +1691,6 @@ finalize:
                if (FAILURE == zend_hash_get_current_data(&(phar.manifest), (void **) &entry)) {
                        zend_hash_destroy(&(phar.manifest));
                        php_stream_close(phar.fp);
-                       zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC,
-                               "Cannot convert phar archive \"%s\"", source->fname);
                        /* we can't throw an exception or bad crap will happen */
                        zend_error(E_ERROR, "Error: could not convert phar archive \"%s\", phar is in unstable state, shutting down", source->fname);
                        return;