[Commits] [SCM] claws branch, master, updated. 3.13.2-210-g8959d16
ticho at claws-mail.org
ticho at claws-mail.org
Thu Jul 28 13:14:00 CEST 2016
The branch, master has been updated
via 8959d16e49de13c2cd0e289ac5364bbcaf03dec8 (commit)
from ca90fcd9d2b67fd53a8da274e936efbe84d602a5 (commit)
Summary of changes:
src/common/plugin.c | 11 -----------
src/common/plugin.h | 2 --
src/password.c | 5 -----
3 files changed, 18 deletions(-)
- Log -----------------------------------------------------------------
commit 8959d16e49de13c2cd0e289ac5364bbcaf03dec8
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Thu Jul 28 13:12:03 2016 +0200
Remove the (now unused) master_passphrase_change plugin function.
diff --git a/src/common/plugin.c b/src/common/plugin.c
index 0e43190..e31dcd6 100644
--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -747,17 +747,6 @@ const gchar *plugin_get_error(Plugin *plugin)
return plugin->error;
}
-void plugins_master_passphrase_change(const gchar *oldp, const gchar *newp) {
- Plugin *plugin = NULL;
- GSList *cur;
- for (cur = plugin_get_list(); cur; cur = g_slist_next(cur)) {
- plugin = (Plugin *)cur->data;
- if (plugin->master_passphrase_change != NULL) {
- plugin->master_passphrase_change(oldp, newp);
- }
- }
-}
-
/* Generally called in plugin_init() function of each plugin. It check the
* minimal and compiled version of claws binary required by the plugin.
* If (@minimum_claws_version == 0 || @compiled_claws_version == 0), don't
diff --git a/src/common/plugin.h b/src/common/plugin.h
index b153b6b..cc72746 100644
--- a/src/common/plugin.h
+++ b/src/common/plugin.h
@@ -59,8 +59,6 @@ void plugin_unload_all (const gchar *type);
void plugin_save_list (void);
void plugin_load_standard_plugins (void);
-void plugins_master_passphrase_change(const gchar *oldp, const gchar *newp);
-
GSList *plugin_get_list (void);
GSList *plugin_get_unloaded_list(void);
const gchar *plugin_get_name (Plugin *plugin);
diff --git a/src/password.c b/src/password.c
index 2040698..ccbba17 100644
--- a/src/password.c
+++ b/src/password.c
@@ -266,11 +266,6 @@ void master_passphrase_change(const gchar *oldp, const gchar *newp)
debug_print("Reencrypting all account passwords...\n");
passwd_store_reencrypt_all(oldp, newp);
- /* Now reencrypt all plugins passwords fields
- * FIXME: Unloaded plugins won't be able to update their stored passwords
- */
- plugins_master_passphrase_change(oldp, newp);
-
master_passphrase_forget();
}
#endif
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list