phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [phpGroupWare-developers] [code cleaning] Missing public function ge


From: Sigurd Nes
Subject: Re: [phpGroupWare-developers] [code cleaning] Missing public function get_subs in class.locations.inc.php
Date: Sun, 26 Oct 2008 08:03:36 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Maât wrote:
> Hi all,
> 
> I'm still fighting bugs to move microstep by microstep to see .18 out
> before i'm 120 years old :)
> 
> litle bit of progress today : i have a nearly installing phpgroupware
> (well install does not die any more and it goes from the beginning to
> the end, i can log in but there are no app available at all : just
> about, home and logout)
> 
> i'm splitting the changes i made into small patches to avoid the giant
> commit effect with many different things inside : each commit will
> address a specific issue :
> 
> that will make patch review easier (and also make reverts easier in case
> i made a mistake)
> 
> Among the issues, i found that get_subs() of class.locations.inc.php is
> called from class.acl.inc.php but does not exist... with an empty method
> i could prevent phpgw from crashing but i guess this method is supposed
> to do something
> 
> Can someone help me either giving me the code of this method or
> explaining what it is supposed to do ?
> 
> cheers,
> maat (micro bug chaser)
> 
> 

Hi maat,

it is supposed to get a list of sub-locations for a given location.

have a look at the table phpgw_locations - the field 'name' contains information
on the sub-locations as they are organised as:

name            descr
.               Top
.sub1           First submodule
.sub2           Second submodule
.sub1.sub1      First sub-sub at first sub

Regards

Sigurd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]