Re: Gollem sidebar menu issue

Michael M Slusarz <[email protected]>
Newsgroups gmane.comp.horde.gollem
Message-ID <[email protected]>
Quoting AJ <[email protected]>:

> Got it.  What do you think would be the best way to hide the backend 
> list if you are only using one backend?
> Perhaps we can check if $conf['backend']['backend_list'] = 'hidden' 
> and then loop around that piece of code?

Or just add a:

if (count($GLOBALS['gollem_backends']) < 1) {
  return;
}

to prevent addNode from ever being called.

michael

_______________________________________
Michael Slusarz [[email protected]]
-- 
Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.