@LukasReschke The exit was also in those files. That's why I did not modify actually: https://github.com/owncloud/calendar/blob/master/ajax/calendar/delete.php
https://github.com/owncloud/calendar/blob/master/ajax/import/import.php