diff options
Diffstat (limited to 'config.inc.php.dist')
| -rw-r--r-- | config.inc.php.dist | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.inc.php.dist b/config.inc.php.dist index 394086b..20fe0e6 100644 --- a/config.inc.php.dist +++ b/config.inc.php.dist @@ -72,4 +72,15 @@ $config['inbox_settings_update_forwarder_query'] = 'UPDATE forwarders SET fwd_ad // %d - the domain part of the username // (in case the username is an email address) $config['inbox_settings_keys_query'] = 'SELECT id, fingerprint, comment FROM pgp_keys WHERE username = %u'; + +// The SQL query used to delete or deactivate a subset of a user's PGP keys. +// Supported replacement variables: +// %h - user's IMAP hostname +// %u - the username (from the session info) +// %l - the local part of the username +// (in case the username is an email address) +// %d - the domain part of the username +// (in case the username is an email address) +// %k - the key IDs being deleted +$config['inbox_settings_delete_keys_query'] = 'DELETE FROM pgp_keys WHERE id IN (%k) AND username = %u'; ?> |
