diff options
author | Michael Adam <obnox@samba.org> | 2008-01-20 03:45:40 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-20 03:47:37 +0100 |
commit | e45dacce898021bbce0ba5b2c18dc8e103931e51 (patch) | |
tree | 2319f508440c5dfa240435e4b1f9386bf325873e /source3/registry/reg_frontend_hilvl.c | |
parent | c16b74cc861c031fda34ea131dadc9d4e175a8ed (diff) | |
download | samba-e45dacce898021bbce0ba5b2c18dc8e103931e51.tar.gz samba-e45dacce898021bbce0ba5b2c18dc8e103931e51.tar.bz2 samba-e45dacce898021bbce0ba5b2c18dc8e103931e51.zip |
Remove the dynamic registry overlay.
It is unnecessary now the dynamic functions have been made
registry backends of their own.
Michael
(This used to be commit e327953bd6b11aeb6f2ae48b49550a942eae8e88)
Diffstat (limited to 'source3/registry/reg_frontend_hilvl.c')
-rw-r--r-- | source3/registry/reg_frontend_hilvl.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/registry/reg_frontend_hilvl.c b/source3/registry/reg_frontend_hilvl.c index cd02eeef74..6819d06704 100644 --- a/source3/registry/reg_frontend_hilvl.c +++ b/source3/registry/reg_frontend_hilvl.c @@ -87,9 +87,6 @@ bool store_reg_keys( REGISTRY_KEY *key, REGSUBKEY_CTR *subkeys ) bool store_reg_values( REGISTRY_KEY *key, REGVAL_CTR *val ) { - if ( check_dynamic_reg_values( key ) ) - return false; - if ( key->hook && key->hook->ops && key->hook->ops->store_values ) return key->hook->ops->store_values( key->name, val ); @@ -122,14 +119,6 @@ int fetch_reg_values( REGISTRY_KEY *key, REGVAL_CTR *val ) if ( key->hook && key->hook->ops && key->hook->ops->fetch_values ) result = key->hook->ops->fetch_values( key->name, val ); - /* if the backend lookup returned no data, try the dynamic overlay */ - - if ( result == 0 ) { - result = fetch_dynamic_reg_values( key, val ); - - return ( result != -1 ) ? result : 0; - } - return result; } |