summaryrefslogtreecommitdiffstats
path: root/external/newsapi.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-06-12 14:50:15 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-06-12 14:50:25 +0200
commit4faa08d70891da48a0f7647f7eb8730f7f9dc82e (patch)
treea7f66c2748e2f731be2f20f2af36181a29bf6ff1 /external/newsapi.php
parenta70a85bc1839fbd2ebb27f051fe7c473107c5204 (diff)
add annotations for api controllers
Diffstat (limited to 'external/newsapi.php')
-rw-r--r--external/newsapi.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/external/newsapi.php b/external/newsapi.php
index 747f818ec..bb3e3bc28 100644
--- a/external/newsapi.php
+++ b/external/newsapi.php
@@ -38,6 +38,11 @@ class NewsAPI extends Controller {
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function version() {
$version = $this->api->getAppValue('installed_version');
return new NewsAPIResult(array('version' => $version));