API: Preparation for statuses/lookup support

This commit is contained in:
Michael Vogel 2016-01-04 01:00:19 +01:00
parent ba9054d8a3
commit d778e7bfb7
1 changed files with 2 additions and 0 deletions

View File

@ -318,6 +318,7 @@
}
}
}
logger('API call not implemented: '.$a->query_string);
throw new NotImplementedException();
} catch (HTTPException $e) {
header("HTTP/1.1 {$e->httpcode} {$e->httpdesc}");
@ -2576,6 +2577,7 @@
killme();
}
}
api_register_func('api/gnusocial/version','api_statusnet_version',false);
api_register_func('api/statusnet/version','api_statusnet_version',false);
/**