summaryrefslogtreecommitdiff
path: root/ext/ldap
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2016-06-11 12:07:28 -0500
committerAaron Piotrowski <aaron@trowski.com>2016-06-13 09:02:17 -0500
commit771e5cc24716304dd2bf8cbd8aec11d465965d0a (patch)
treecf85742ca6a5810f284f62902f9dc7efc756a663 /ext/ldap
parente3c681aa5cc71122a8d2fae42e6513fc413ccac8 (diff)
downloadphp-git-771e5cc24716304dd2bf8cbd8aec11d465965d0a.tar.gz
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
Diffstat (limited to 'ext/ldap')
-rw-r--r--ext/ldap/ldap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 0ead76c894..ca7af91cdf 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -38,7 +38,6 @@
#include "php.h"
#include "php_ini.h"
-#include "zend_exceptions.h"
#include <stddef.h>
@@ -1864,7 +1863,7 @@ PHP_FUNCTION(ldap_modify_batch)
oper = LDAP_MOD_REPLACE;
break;
default:
- zend_throw_error(zend_ce_error, "Unknown and uncaught modification type.");
+ zend_throw_error(NULL, "Unknown and uncaught modification type.");
RETVAL_FALSE;
efree(ldap_mods[i]);
num_mods = i;