diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2016-06-11 12:07:28 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2016-06-13 09:02:17 -0500 |
commit | 771e5cc24716304dd2bf8cbd8aec11d465965d0a (patch) | |
tree | cf85742ca6a5810f284f62902f9dc7efc756a663 /ext/session/mod_user.c | |
parent | e3c681aa5cc71122a8d2fae42e6513fc413ccac8 (diff) | |
download | php-git-771e5cc24716304dd2bf8cbd8aec11d465965d0a.tar.gz |
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
Diffstat (limited to 'ext/session/mod_user.c')
-rw-r--r-- | ext/session/mod_user.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index 6ac5a8cfef..beddce8883 100644 --- a/ext/session/mod_user.c +++ b/ext/session/mod_user.c @@ -20,7 +20,6 @@ #include "php.h" #include "php_session.h" -#include "zend_exceptions.h" #include "mod_user.h" ps_module ps_mod_user = { @@ -201,12 +200,12 @@ PS_CREATE_SID_FUNC(user) } zval_ptr_dtor(&retval); } else { - zend_throw_error(zend_ce_error, "No session id returned by function"); + zend_throw_error(NULL, "No session id returned by function"); return NULL; } if (!id) { - zend_throw_error(zend_ce_error, "Session id must be a string"); + zend_throw_error(NULL, "Session id must be a string"); return NULL; } |