Skip to content

Commit

Permalink
phalcon_session_write_close()
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Dec 21, 2013
1 parent 0d74b30 commit 41da044
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ext/kernel/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,8 @@ void phalcon_set_session_id(zval *sid TSRMLS_DC)
phalcon_call_func_params_w(NULL, SL("session_id"), 1, params TSRMLS_CC);
#endif
}

void phalcon_session_write_close(TSRMLS_D)
{
phalcon_call_func_params_w(NULL, SL("session_write_close"), 0, NULL TSRMLS_CC);
}
1 change: 1 addition & 0 deletions ext/kernel/session.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ void phalcon_session_start(TSRMLS_D);
void phalcon_session_destroy(TSRMLS_D);
void phalcon_get_session_id(zval *return_value TSRMLS_DC);
void phalcon_set_session_id(zval *sid TSRMLS_DC);
void phalcon_session_write_close(TSRMLS_D);

#endif /* KERNEL_SESSION_H */

0 comments on commit 41da044

Please sign in to comment.