summaryrefslogtreecommitdiff
path: root/modules/server_add
diff options
context:
space:
mode:
Diffstat (limited to 'modules/server_add')
-rw-r--r--modules/server_add/controllers/server_add.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/server_add/controllers/server_add.php b/modules/server_add/controllers/server_add.php
index 11d4cb0a..6639fbae 100644
--- a/modules/server_add/controllers/server_add.php
+++ b/modules/server_add/controllers/server_add.php
@@ -162,11 +162,6 @@ class Server_Add_Controller extends Admin_Controller {
->find();
if ($entry->loaded()) {
- // Ignore the staging directories as directories to be imported.
- if (!empty($paths[$entry->path])) {
- $entry->delete();
- }
-
$child_paths = glob(preg_quote($entry->path) . "/*");
if (!$child_paths) {
$child_paths = glob("{$entry->path}/*");