[dev] Re: [cvs] commit: framework/Horde/Horde Registry.php

Chuck Hagenbuch chuck at horde.org
Mon Oct 18 13:08:39 PDT 2004


Quoting Michael M Slusarz <slusarz at curecanti.org>:

>   Log:
>   very, very bad - this completely nuked an application's preferences 
> if called after the application had been initialized.

Perhaps something like this:

         if ($app == $this->_currentApp) {
             return false;
         }

... should be added to the loadPrefs() definition? (might want it to return
true, but still).

Also, why is the loadprefs *ever* needed in getImageDir()?

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list