[owncloud-devel] Documentation show functions that doesn't exist

Vincent Petry pvince81 at owncloud.com
Mon Dec 5 14:20:56 GMT 2016


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 at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20161205/78e9aadd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20161205/78e9aadd/attachment.sig>


More information about the Devel mailing list