Removed 'shared' feature of Horde_Prefs.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 15 Oct 2010 22:45:47 +0000 (16:45 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 19 Oct 2010 17:19:03 +0000 (11:19 -0600)
commit21652c9db84ac02e489ebaded3ed9a955ace1fc5
tree2c46058fbabd01ff2bc602b1ae5ffb3a3b5591d8
parent880ef2d438e4505c586a3a2caa3abb9859ca41e0
Removed 'shared' feature of Horde_Prefs.

Defeats the whole purpose of decoupling the various applications.
Additionally, doesn't make much sense to declare horde
prefs 'shared' since they are always used as a fallback if the prefname
doesn't exist in the local scope.

Preference values from other applications should be accessed via an
application's API instead.  This is already what we do, for example, to
get the search_sources pref in IMP/Turba.

Not really sure how this was supposed to work anyway, since shared prefs
were totally dependent on the order in which the app was loaded. Simply
put, global prefs need to live in horde.
18 files changed:
beatnik/config/prefs.php.dist
folks/config/prefs.php.dist
folks/lib/Friends/prefs.php
framework/Prefs/lib/Horde/Prefs.php
hermes/config/prefs.php.dist
horde/config/prefs.php.dist
hylax/config/prefs.php.dist
imp/config/prefs.php.dist
ingo/config/prefs.php.dist
koward/www/horde/config/prefs.php.dist
kronolith/config/prefs.php.dist
nag/config/prefs.php.dist
operator/config/prefs.php.dist
pastie/config/prefs.php.dist
skeleton/config/prefs.php.dist
trean/config/prefs.php.dist
vilma/config/prefs.php.dist
wicked/config/prefs.php.dist