Commit cc68a40a authored by chandi's avatar chandi

fix codestyle

parent fcd52023
Pipeline #48480286 failed with stages
in 7 minutes and 47 seconds
......@@ -85,7 +85,7 @@ class WallPostXhr extends Control
if (!$this->wallPostPermissions->mayReadWall($this->session->id(), $this->table, $this->id)) {
return XhrResponses::PERMISSION_DENIED;
}
if ((int)$this->wallPostGateway->getLastPostId($this->table, $this->id) != (int)$_GET['last']) {
if ($posts = $this->wallPostGateway->getPosts($this->table, $this->id)) {
return array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment