Skip to content

Commit

Permalink
[4.0.0] Response headers and cookies are no longer prematurely sent (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SidRoberts authored and sergeyklay committed Aug 15, 2017
1 parent 70d9cb3 commit abfd87e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-4.0.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# [4.0.0](https://github.com/phalcon/cphalcon/releases/tag/v4.0.0) (2017-XX-XX)
- MVC Application and Router now must have a URI to process [#12380](https://github.com/phalcon/cphalcon/pull/12380)
- Response headers and cookies are no longer prematurely sent [#12378](https://github.com/phalcon/cphalcon/pull/12378)
6 changes: 0 additions & 6 deletions phalcon/mvc/application.zep
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,6 @@ class Application extends BaseApplication
eventsManager->fire("application:beforeSendResponse", this, response);
}

/**
* Headers and Cookies are automatically sent
*/
response->sendHeaders();
response->sendCookies();

/**
* Return the response
*/
Expand Down

0 comments on commit abfd87e

Please sign in to comment.