mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-15 03:44:24 +00:00
Allow a response with no message to be the default.
This commit is contained in:
parent
a57c043163
commit
bb6185ff5f
@ -337,7 +337,7 @@ class CalDAVRequest
|
||||
* @param int $status The HTTP status code to send.
|
||||
* @param string $message The friendly text message to send with the response.
|
||||
*/
|
||||
function DoResponse( $status, $message, $content_type="text/plain" ) {
|
||||
function DoResponse( $status, $message="", $content_type="text/plain" ) {
|
||||
global $session, $c;
|
||||
switch( $status ) {
|
||||
case 100: $status_text = "Continue"; break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user