forked from extern/egroupware
fix PHP Warning: Declaration of EGroupware\\Api\\CalDAV::ServeRequest() should be compatible with HTTP_WebDAV_Server::ServeRequest($prefix = NULL)
This commit is contained in:
parent
b381843d01
commit
5643f0f6c2
@ -2032,8 +2032,10 @@ class CalDAV extends HTTP_WebDAV_Server
|
||||
* Serve WebDAV HTTP request
|
||||
*
|
||||
* Reimplemented to add logging
|
||||
*
|
||||
* @param $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php
|
||||
*/
|
||||
function ServeRequest()
|
||||
function ServeRequest($prefix=null)
|
||||
{
|
||||
if ((self::$log_level=$GLOBALS['egw_info']['user']['preferences']['groupdav']['debug_level']) === 'r' ||
|
||||
self::$log_level === 'f' || $this->debug)
|
||||
@ -2045,7 +2047,7 @@ class CalDAV extends HTTP_WebDAV_Server
|
||||
substr($_SERVER['CONTENT_TYPE'], 0, 5) == 'text/';
|
||||
ob_start();
|
||||
}
|
||||
parent::ServeRequest();
|
||||
parent::ServeRequest($prefix);
|
||||
|
||||
if (self::$request_starttime) self::log_request();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user