Hello,

Mind posting a link to the documentation you used ?

From what I rememberseeing you need to use
`\OC::$server->getRootFolder()` and register the hooks on that one.

Cheers,

Vincent

On 05.12.2016 14:17, Centre de calcul dev wrote:
> Hello, 
>
> I'm a beginner in developing application for OwnCloud and I apologize if my 
> question seems easy. 
> But I followed the app tutorial for Hooks on the website of Ownclound and it 
> seems that the listen function of the class returned by getUserFolder() 
> doesnt exist. 
> So here my question, how it is possible to catch the event when the user is 
> uploading files ? 
>
> I'm developing on OwnCloud 9.2. 
>
>
> Thanks, 
>
> BenoƮt 
>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel@owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to