chiark / gitweb /
Disobedience no longer attempts to compute defaults for namepart
authorrjk@greenend.org.uk <>
Tue, 25 Sep 2007 14:45:13 +0000 (15:45 +0100)
committerrjk@greenend.org.uk <>
Tue, 25 Sep 2007 14:45:13 +0000 (15:45 +0100)
commit13aba192a9e844a6aa97ca0f6bbe71f601775763
tree7e348bb75467e41850719a75e767f5c30a8a0bf3
parent0e4472a082cdbb50ee54e1886abc332f3e11bcce
Disobedience no longer attempts to compute defaults for namepart
preferences.  It doesn't in general have enough information to do so
correctly.

For fetching the preferences, with defaults still working, it now just
asks for the namepart and infers that the preference matches it.

For setting the preferences it no longer attempts to unset preferences
that are now at their default value.

This will cause trivial preferences to accumulate in the database.
This can be fixed if desired by making the server translate such sets
into unsets.
disobedience/properties.c