Active
Project:
Domain User Default
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 May 2009 at 22:12 UTC
Updated:
26 Dec 2010 at 23:08 UTC
Jump to comment: Most recent file
2.x version of DA now stores default domain in the database and is passed as 0 not -1. This requires executing the following update when upgrading from 1.x to 2.x:
function domain_user_default_update_6200() {
$ret = array();
$ret[] = update_sql("UPDATE {domain_user_default} SET domain_id = 0 WHERE domain_id = -1");
return $ret;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 463034-domain_user_default.install.patch | 736 bytes | nonsie |
Comments
Comment #1
nonsiePatch attached against dev version
Comment #2
nonsieCommitted
Comment #4
IckZ commentedHey,
there is still a little Problem with this. If a User set the default domain as "his" default domain it goes as "-1" into the database.. When this happens it will not work correctly :)