Hi Robin, Am 06.08.12 20:25, schrieb Robin Appelman: > On Monday 06 August 2012 18:55:52 [email protected] 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 > cool, thanks! Calling OC_User::clearBackends() before the OC_User::useBackend('BACKEND_NAME')-Call works as expected :-).
Fabian _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
