/** * remove a user backend * * @param \OCP\UserInterface backend */ public void removeBackend(OCP.UserInterface backend) { this.cachedUsers.Clear(); this.backends.Remove(backend); }
/** * register a user backend * * @param \OCP\UserInterface backend */ public void registerBackend(OCP.UserInterface backend) { this.backends.Add(backend); }