forked from extern/egroupware
change the loading of the application params
This commit is contained in:
parent
52796590bf
commit
b58ac26b3a
@ -127,10 +127,10 @@
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$this->preferences = CreateObject("phpgwapi.preferences", intval($phpgw_info["user"]["account_id"]));
|
$this->preferences = CreateObject("phpgwapi.preferences", intval($phpgw_info["user"]["account_id"]));
|
||||||
$app_params[] = intval($phpgw_info["user"]["account_id"]);
|
$this->applications = CreateObject("phpgwapi.applications", array(intval($phpgw_info["user"]["account_id"]),'u'));
|
||||||
$this->applications = CreateObject("phpgwapi.applications", $app_params);
|
|
||||||
$phpgw_info["user"]["preferences"] = $this->preferences->get_saved_preferences();
|
$phpgw_info["user"]["preferences"] = $this->preferences->get_saved_preferences();
|
||||||
$phpgw_info["user"]["apps"] = $this->applications->enabled_apps();
|
$phpgw_info["user"]["apps"] = $this->applications->enabled_apps();
|
||||||
|
@reset($phpgw_info["user"]["apps"]);
|
||||||
}
|
}
|
||||||
$this->translation = CreateObject("phpgwapi.translation");
|
$this->translation = CreateObject("phpgwapi.translation");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user