Uh oh!
There was an error while loading. Please reload this page.
fix new event documentation - #490
Conversation
adapt to current implementation
Uh oh!
There was an error while loading. Please reload this page.
nickvergessen
left a comment
There was a problem hiding this comment.
Looks good in general, apart from the setObject change
sualko
commented
Sep 10, 2020
This pr just reflects the code documentation: https://github.com/nextcloud/server/blob/f91a85c32eb4a4c3cef20e0daab4069437df5d07/lib/public/Activity/IManager.php#L38-L51 /** * Generates a new IEvent object * * Make sure to call at least the following methods before sending it to the * app with via the publish() method: * - setApp() * - setType() * - setAffectedUser() * - setSubject() * * @return IEvent * @since 8.2.0 */publicfunction generateEvent(): IEvent;So if |
nickvergessen
commented
Sep 10, 2020
Ah oh... hmm then let me fix server and you move setObject() back here |
sualko
commented
Sep 10, 2020
No problem. Done. |
No description provided.