Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Jan 17, 2018

use OCA\Survey_Client\Collector;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cough

$this->manager->markProcessed($notification);

return new \OC\OCS\Result();
return new DataResponse([]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[] is the default, so you can remove it

$this->manager->markProcessed($notification);

return new \OC\OCS\Result();
return new DataResponse([]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Signed-off-by: Roeland Jago Douma <[email protected]>
@schiessle schiessle merged commit 31d31a9 into master Aug 3, 2018
@schiessle schiessle deleted the ocs_constroller branch August 3, 2018 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants