]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Owa.php
Merge init() and content()
[friendica.git] / src / Module / Owa.php
index bfe108c842c0e62f982a1b4c99f828cedaa387a6..ca4eec47ffad0f2cfd94624b15cd9d638ef47ac7 100644 (file)
@@ -27,7 +27,7 @@ use Friendica\Util\Strings;
  */
 class Owa extends BaseModule
 {
-       public static function init()
+       public static function init(array $parameters = [])
        {
 
                $ret = [ 'success' => false ];
@@ -86,6 +86,6 @@ class Owa extends BaseModule
                                }
                        }
                }
-               System::jsonExit($ret, 'application/x-dfrn+json');
+               System::jsonExit($ret, 'application/x-zot+json');
        }
 }