[Owncloud] OX_User::useBackend

Robin Appelman icewind at owncloud.com
Mon Aug 6 18:25:24 UTC 2012


On Monday 06 August 2012 18:55:52 mlists.owncloud at eideo.de wrote:
> Hi,
> 
> I'm trying to develop an user-Backend-App for owncloud 4.
> 
> As an inspiration I'm looking at the other User-Backend-Apps like
> "user_ldap" or "user_pwauth". They use the following line in their
> appinfo/app.php
> 
>   OC_User::useBackend('BACKEND_NAME');
> 
> I have tested this with my own backend, but the backend is only called,
> when the "core"-Backend is unsuccessfully. What I want is to inherit the
> "core"-User-Backend and only extend some methods with some
> functionalities. Is there a way to do this?
> 
> --
> Best wishes,
> Fabian

The only way to do that at the moment is removing all other backends before 
adding your custom backend

 - Robin Appelman



More information about the Owncloud mailing list