Fix external API sample

This commit is contained in:
jbtbnl 2014-04-07 11:44:30 +02:00
parent 061d504dcb
commit 91f51eef5e
2 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -8,3 +8,6 @@
*~
*.sav
*.backup
# Exclude NetBeans project
/nbproject/*

View File

@ -25,9 +25,9 @@ Methods are registered inside the :file:`appinfo/routes.php` using :php:class:`O
'/apps/yourapp/url',
function($urlParameters) {
return new \OC_OCS_Result($data);
}
},
'yourapp',
OC_API::ADMIN_AUTH
\OC_API::ADMIN_AUTH
);
Returning Data