]> git.mxchange.org Git - friendica.git/commitdiff
change remoteauth endpoint path
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 12 Apr 2015 06:53:30 +0000 (08:53 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 12 Apr 2015 06:53:30 +0000 (08:53 +0200)
include/api.php

index 6f1c4eaed814fd1a06a9f66ddb4cf65042c14267..dd24a92c9b105bf22e2bbc25532fc7f258e24d78 100644 (file)
         *              c_url: url of remote contact to auth to
         *              url: string, url to redirect after auth
         */
-       function api_dfrn_remoteauth(&$a) {
+       function api_friendica_remoteauth(&$a) {
                $url = ((x($_GET,'url')) ? $_GET['url'] : '');
                $c_url = ((x($_GET,'c_url')) ? $_GET['c_url'] : '');
 
                                . '&dfrn_version=' . DFRN_PROTOCOL_VERSION
                                . '&type=profile&sec=' . $sec . $dest . $quiet );
        }
-       api_register_func('api/dfrn/remoteauth', 'api_dfrn_remoteauth', true);
+       api_register_func('api/friendica/remoteauth', 'api_friendica_remoteauth', true);