imap createuser default addressbook not created

Ask all your questions regarding OC 6.x Please read the Support Forum Rules
Forum rules
ownCloud 6.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
vahldieckm
Newbie
Posts: 1
Joined: Mon May 26, 2014 8:23 pm
ownCloud version: 6.0.3
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5

imap createuser default addressbook not created

Postby vahldieckm » Mon May 26, 2014 8:37 pm

in OC5 I used imap.php according to http://doc.owncloud.org/server/5.0/admi ... ckend.html
<pre>
OC_User::createUser($uid, $password);
OC_Group::createGroup($uida[1]);
OC_Group::addToGroup($uid,$uida[1]);
</pre>
to have a new user created ant it was just fine including default addressbook. Since update to OC6 the default addressbook is not created anymore.
When I look into ./apps/contacts/lib/hooks.php it looks like this:
<pre>
public static function userCreated($parameters) {
//Addressbook::addDefault($parameters['uid']);
return true;
}
</pre>
The Class Addressbook::addDefault does not seem to be there anymore. Any ideas how to get around this problem and have the default addressbook created when logging in through imap?

Cheers
Mike

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: imap createuser default addressbook not created

Postby RealRancor » Sun Aug 03, 2014 12:21 pm

*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 6.x”

Who is online

Users browsing this forum: No registered users and 4 guests