Commit 43c9e95889becb28c55760915ed1c7fb020efdd6

Authored by unknown
1 parent 6b7ad149

Fixed problem of WebDav web interface page producing doubled output

KTS-4425. When clicking the link to the WebDAV on the dashboard the information on the resulting page seems to be doubled.

Fixed

Committed by: Paul Barrett

Reviewed by: Megan Watson
ktwebdav/lib/KTWebDAVServer.inc.php
... ... @@ -360,20 +360,7 @@ class KTWebDAVServer extends HTTP_WebDAV_Server
360 360 }
361 361  
362 362 $this->ktwebdavLog("Exiting $method request", 'info', true);
363   -
364   - if (method_exists($this, $wrapper) && ($method == 'options' || method_exists($this, $method))) {
365   - $this->$wrapper(); // call method by name
366   - } else { // method not found/implemented
367   - if ($_SERVER['REQUEST_METHOD'] == 'LOCK') {
368   - $this->http_status('412 Precondition failed');
369   - } else {
370   - $this->http_status('405 Method not allowed');
371   - header('Allow: '.join(', ', $this->_allow())); // tell client what's allowed
372   - }
373   - }
374   -
375   -$this->ktwebdavLog("Exiting $method request", 'info', true);
376   -}
  363 + }
377 364  
378 365 /**
379 366 * check authentication if check is implemented
... ...