diff options
Diffstat (limited to 'shell/e-shell-importer.c')
-rw-r--r-- | shell/e-shell-importer.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 01a61c6817..43cbee91a8 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -489,7 +489,6 @@ start_import (const char *folderpath, ImporterComponentData *icd; char *label; char *real_iid; - char *localpath; struct stat buf; if (stat (filename, &buf) == -1) { @@ -502,15 +501,6 @@ start_import (const char *folderpath, return; } - /* Only allow importing to /local */ - localpath = "/" E_LOCAL_STORAGE_NAME "/"; - if (folderpath != NULL) { - if (strncmp (folderpath, localpath, strlen (localpath))) { - show_error (_("You may only import to local folders"), _("Evolution Error")); - return; - } - } - if (iid == NULL || strcmp (iid, "Automatic") == 0) { /* Work out the component to use */ real_iid = get_iid_for_filetype (filename); |