Simplify preference hooks.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 15 Oct 2010 20:59:39 +0000 (14:59 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 20 Oct 2010 16:07:14 +0000 (10:07 -0600)
commit6095c30cc046404079b8ce1699a7d99ecc37f180
tree97006da6bd7b526271ee1eb6ac5bdb7034a338f2
parentac20a963e7eef0ce515b86d9d5acf47a242c4b59
Simplify preference hooks.

Instead of having separate hooks for each preference, define single hook
for each of the preference events (init, change) and pass these hooks
the preference name.
framework/Prefs/lib/Horde/Prefs.php
horde/config/hooks.php.dist
horde/docs/UPGRADING
imp/config/hooks.php.dist
imp/lib/Prefs/Identity.php