diff options
-rw-r--r-- | Zotlabs/Module/Well_known.php | 5 | ||||
-rw-r--r-- | include/cdav.php | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/Zotlabs/Module/Well_known.php b/Zotlabs/Module/Well_known.php index 140ab260d..0d7b222b8 100644 --- a/Zotlabs/Module/Well_known.php +++ b/Zotlabs/Module/Well_known.php @@ -65,11 +65,6 @@ class Well_known extends \Zotlabs\Web\Controller { killme(); case 'caldav': - if ($_SERVER['REQUEST_METHOD'] == 'PROPFIND') { - http_status('301', 'moved permanently'); - goaway(z_root() . '/cdav'); - }; - case 'carddav': if ($_SERVER['REQUEST_METHOD'] == 'PROPFIND') { http_status('301', 'moved permanently'); diff --git a/include/cdav.php b/include/cdav.php index cdf7775db..ef248a9fe 100644 --- a/include/cdav.php +++ b/include/cdav.php @@ -3,7 +3,7 @@ /** * @brief Process CardDAV card * - * @param array $f fields array + * @param array $f fields * @param obj $vcard SabreDAV object * @param bool $edit update card * @@ -96,7 +96,7 @@ function process_cdav_card($f, &$vcard, $edit = false) { /** * @brief Import CardDAV or CalDAV card * - * @param int $id card id + * @param mixed $id card id * @param str $ext card extension * @param str $table name * @param str $column name |