[Pkg-owncloud-commits] [owncloud-doc] 81/95: Fix external API sample

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:41:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit b165ffb0a9b280cd27b702ff2b57952dc2fb996a
Author: jbtbnl <jbtbnl at users.noreply.github.com>
Date:   Mon Apr 7 11:44:30 2014 +0200

    Fix external API sample
---
 .gitignore                               | 3 +++
 developer_manual/app/app/externalapi.rst | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index ae1c9fe..9a4239f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,6 @@
 *~
 *.sav
 *.backup
+
+# Exclude NetBeans project
+/nbproject/*
\ No newline at end of file
diff --git a/developer_manual/app/app/externalapi.rst b/developer_manual/app/app/externalapi.rst
index e290800..04c05ca 100644
--- a/developer_manual/app/app/externalapi.rst
+++ b/developer_manual/app/app/externalapi.rst
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list