This avoids a PHP warning in the logs about trying to set the response code while the output already started. It’s useless to try to print an error page anyway in this situation because the connection was closed already. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> |
||
|---|---|---|
| .. | ||
| template | ||
| OC_App.php | ||
| OC_Defaults.php | ||
| OC_Files.php | ||
| OC_Helper.php | ||
| OC_Hook.php | ||
| OC_JSON.php | ||
| OC_Response.php | ||
| OC_Template.php | ||
| OC_User.php | ||
| OC_Util.php | ||