Skip to content

Commit

Permalink
Merge branch '1.3.0' of https://github.com/phalcon/cphalcon into 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgutierrez committed Sep 20, 2013
2 parents e490186 + 0a654f3 commit b97aef3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ext/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,16 +711,15 @@ static PHP_MINIT_FUNCTION(phalcon){
return SUCCESS;
}

#ifndef PHALCON_RELEASE
static PHP_MSHUTDOWN_FUNCTION(phalcon){

assert(PHALCON_GLOBAL(function_cache) == NULL);
assert(PHALCON_GLOBAL(orm).parser_cache == NULL);
assert(PHALCON_GLOBAL(orm).ast_cache == NULL);

zend_execute_internal = orig_execute_internal;
return SUCCESS;
}
#endif

static PHP_RINIT_FUNCTION(phalcon){

Expand Down Expand Up @@ -832,11 +831,7 @@ zend_module_entry phalcon_module_entry = {
PHP_PHALCON_EXTNAME,
NULL,
PHP_MINIT(phalcon),
#ifndef PHALCON_RELEASE
PHP_MSHUTDOWN(phalcon),
#else
NULL,
#endif
PHP_RINIT(phalcon),
PHP_RSHUTDOWN(phalcon),
PHP_MINFO(phalcon),
Expand Down

0 comments on commit b97aef3

Please sign in to comment.