Removing cursed line for the third time...

This line was added as tests in fab4bb7b22 and 1c7f428a84. But removed in 3978ebd500. We dont understand how it came back. Is in master and tag 0.8. But is not in the build release of 0.8 we did...
This commit is contained in:
leogermani 2019-03-29 10:58:03 -03:00
parent 7c6bb73524
commit f5e985f30c
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ class REST_Controller extends \WP_REST_Controller {
* REST_Controller constructor.
*/
public function __construct() {
session_write_close();
$this->namespace = TAINACAN_REST_NAMESPACE;
add_action('rest_api_init', array($this, 'register_routes'));
}