issue #20961: fixed used function for site and generally
issue #20961: added some more lockTables
Merge pull request #733 from shackbarth/20961-used

issue #20961: fixed used function for site and generally