summaryrefslogtreecommitdiffstats
path: root/external/itemapi.php
diff options
context:
space:
mode:
Diffstat (limited to 'external/itemapi.php')
-rw-r--r--external/itemapi.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/external/itemapi.php b/external/itemapi.php
index 9699b4371..2ba1fcaed 100644
--- a/external/itemapi.php
+++ b/external/itemapi.php
@@ -147,4 +147,13 @@ class ItemAPI extends Controller {
}
+ public function readAll() {
+ $userId = $this->api->getUserId();
+ $newestItemId = (int) $this->params('newestItemId');
+
+ $this->itemBusinessLayer->readAll($newestItemId, $userId);
+ return new NewsAPIResult();
+ }
+
+
}