summaryrefslogtreecommitdiffstats
path: root/external/newsapi.php
diff options
context:
space:
mode:
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));