1
1
Fork 0

One error, one documentation, one brace

This commit is contained in:
Michael 2017-03-13 06:32:33 +00:00
commit 44888590e5
2 changed files with 11 additions and 3 deletions

View file

@ -29,6 +29,14 @@ function discover_poco_run(&$argv, &$argc){
if ($a->maxload_reached())
return;
/*
This function can be called in these ways:
- dirsearch <search pattern>: Searches for "search pattern" in the directory. "search pattern" is url encoded.
- checkcontact: Updates gcontact entries
- suggestions: Discover other servers for their contacts.
- server <poco url>: Searches for the poco server list. "poco url" is base64 encoded.
*/
if(($argc > 2) && ($argv[1] == "dirsearch")) {
$search = urldecode($argv[2]);
$mode = 1;