This repository has been archived on 2024-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/mod/uexport.php
2013-01-16 21:34:36 -08:00

15 lines
300 B
PHP

<?php
function uexport_init(&$a) {
if(! local_user())
killme();
require_once('include/identity.php');
if(argc() > 1 && argv(1) === 'basic')
json_return_and_die(identity_basic_export(local_user()));
if(argc() > 1 && argv(1) === 'complete')
json_return_and_die('not yet implemented');
}