aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index 5707c55aa1..8dcdff9342 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -466,9 +466,6 @@ component_async_remove_folder_callback (EvolutionShellComponentClient *shell_com
callback_data = (AsyncRemoveFolderCallbackData *) data;
- result = remove_folder_directory (E_LOCAL_STORAGE (callback_data->storage),
- callback_data->path);
-
storage_result = shell_component_result_to_storage_result (result);
/* If result == HASSUBFOLDERS then recurse delete the subfolders dir? */
@@ -479,6 +476,9 @@ component_async_remove_folder_callback (EvolutionShellComponentClient *shell_com
priv = E_LOCAL_STORAGE (callback_data->storage)->priv;
+ result = remove_folder_directory (E_LOCAL_STORAGE (callback_data->storage),
+ callback_data->path);
+
e_storage_removed_folder (E_STORAGE (callback_data->storage),
callback_data->path);