limit imap users and create new mailbox string

This should fix #1902. A very simple yet usable approach. Also will it be possible to use specific url schemes mentioned in the same issue.
Understood, but is there a way to achieve this, without writing to the core directly? Can you hint me to an app that does this?

On 12 Sep 2014, at 09:06, Thomas Müller <notifications@github.com> wrote:

> In user_external/lib/base.php:
> 
> >  			);
> > +			if (!empty($email)) {
> > +				OC_DB::executeAudited(
> > +					'INSERT INTO `*PREFIX*preferences` ( `userid`, `appid`, `configkey`, `configvalue` )'
> > +					. ' VALUES( ?, ?, ?, ? )',
> > +					array($uid, settings, email, $email)
> > +				);
> > +			}
> > +			if (!empty($group)) {
> > +				OC_DB::executeAudited(
> > +					'INSERT INTO `*PREFIX*group_user` ( `gid`, `uid` )'
> 
> apps should not access database tables of other apps/core directly - in case we change the schema you are doomed. In addition this table is used by owncloud core user management only. No other auth mechanisms are allowed to write to it.
> 
> —
> Reply to this email directly or view it on GitHub.
>