Hi all,
> On Thu, 2008-11-27 at 17:30 +0100, Maât wrote:
> > 
> > I have an ugly call to protected method
> > phpgwapi_config::read_repository() in ged that i need to patch :-(
> 
> Use read() that is the public method which reads the config data.  This
> was documented in several commit messages too.

And in most cases this call is not needed for some functions ... (that's not 
the case of phpgwapi_config afaik)


> 
> > 
> > 
> > 2 Problems found :
> > 
> > 1) Trying to reinstall cause SQL error (duplicate sql error at insert
> > for admin 1000 account)
> 
> What do you mean by reinstall?  Which db?
> 
> > 2) Call to undefined method phpgwapi_accounts_sql::get_account_name() in
> > ...phpgroupware/phpgwapi/inc/class.common.inc.php on line 497
> 
> As mentioned to you on irc, you just need to caste the account object
> for this functionality.  btw I fixed it in svn, was pretty easy to do -
> see r19003.

Well, that's not the solution in all cases. The main stumbling block is the 
display of the user name for example, which is chosen to be either the username 
or the fullname ... this is used in the display_name function and not so easy 
to fix ...

Regards,

Benoît.

 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
_______________________________________________
phpGroupWare-developers mailing list
phpGroupWare-developers@gnu.org
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers

Reply via email to