From: Evan Prodromou <evan@status.net> Date: Sat, 31 Dec 2011 10:01:51 +0000 (-0800) Subject: activity streams json 'count' => 'totalItems' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6ca729803b1e8023f4e130cae7e8a4df6f9a5c84;p=quix0rs-gnu-social.git activity streams json 'count' => 'totalItems' --- diff --git a/lib/activitystreamjsondocument.php b/lib/activitystreamjsondocument.php index 6d17075931..c67fc5a42f 100644 --- a/lib/activitystreamjsondocument.php +++ b/lib/activitystreamjsondocument.php @@ -168,7 +168,7 @@ class ActivityStreamJSONDocument extends JSONActivityCollection $this->doc['generator'] = 'StatusNet ' . STATUSNET_VERSION; // extension $this->doc['title'] = $this->title; $this->doc['url'] = $this->url; - $this->doc['count'] = $this->count; + $this->doc['totalItems'] = $this->count; $this->doc['items'] = $this->items; $this->doc['links'] = $this->links; // extension return json_encode(array_filter($this->doc)); // filter out empty elements