summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-04 18:23:47 +0200
committerBart Visscher <bartv@thisnet.nl>2013-07-04 18:23:47 +0200
commitad9458e85d319c12575293e0b25069d35db15720 (patch)
tree83801af641b47e346bef0d72821b26e5d4cfb0fa /lib/api.php
parent32d69f68896c08e216bc0e84db409d00ec654856 (diff)
parentf67fc78531a0180d3c60edb849b29ac744bacbaa (diff)
downloadnextcloud-server-ad9458e85d319c12575293e0b25069d35db15720.tar.gz
nextcloud-server-ad9458e85d319c12575293e0b25069d35db15720.zip
Merge branch 'master' into convert-oc_config
Conflicts: lib/config.php
Diffstat (limited to 'lib/api.php')
-rw-r--r--lib/api.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api.php b/lib/api.php
index fc76836995b..31f3f968d9b 100644
--- a/lib/api.php
+++ b/lib/api.php
@@ -67,6 +67,8 @@ class OC_API {
OC::getRouter()->useCollection('ocs');
OC::getRouter()->create($name, $url)
->method($method)
+ ->defaults($defaults)
+ ->requirements($requirements)
->action('OC_API', 'call');
self::$actions[$name] = array();
}