diff options
author | Mario <mario@mariovavti.com> | 2023-01-03 13:30:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-01-03 13:30:53 +0000 |
commit | d2edef5c5a9821337d9985eb00aab4281e480ecf (patch) | |
tree | 24324aadc9c4b002b51f313e02fa86d024602ccc /Zotlabs/Module | |
parent | da9349ea621fbb506b0e1d78a8bf0a8f3958b48e (diff) | |
download | volse-hubzilla-d2edef5c5a9821337d9985eb00aab4281e480ecf.tar.gz volse-hubzilla-d2edef5c5a9821337d9985eb00aab4281e480ecf.tar.bz2 volse-hubzilla-d2edef5c5a9821337d9985eb00aab4281e480ecf.zip |
go away if method is not implemented
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Cloud.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php index d82e0bd47..05109247a 100644 --- a/Zotlabs/Module/Cloud.php +++ b/Zotlabs/Module/Cloud.php @@ -122,10 +122,10 @@ class Cloud extends Controller { \App::$page['content'] = '<h2>403 Forbidden</h2>'; } elseif($err instanceof \Sabre\DAV\Exception\NotImplemented) { - \App::$page['content'] = '<h2>501 Not implemented</h2>'; + goaway(z_root() . '/' . \App::$query_string); } else { - \App::$page['content'] = '<h2>500 Unknown error</h2>'; + \App::$page['content'] = '<h2>Unknown error</h2>'; } construct_page(); |