www/engine/System/Classes/Modules/Filemanager/Utils/Handler.php 1 location
|
@@ 61-64 (lines=4) @@
|
| 58 |
|
|
| 59 |
|
# Process remove action |
| 60 |
|
|
| 61 |
|
if (Request::post('action') === 'remove') { |
| 62 |
|
|
| 63 |
|
if (!$this->entity->remove()) return $ajax->error(Language::get(static::$message_error_remove)); |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
# ------------------------ |
| 67 |
|
|
www/engine/System/Classes/Modules/Entitizer/Utils/Handler.php 1 location
|
@@ 124-127 (lines=4) @@
|
| 121 |
|
|
| 122 |
|
if (!$this->entity->move($parent_id)) return $ajax->error(Language::get(static::$message_error_move)); |
| 123 |
|
|
| 124 |
|
} else if (Request::post('action') === 'remove') { |
| 125 |
|
|
| 126 |
|
if (!$this->entity->remove()) return $ajax->error(Language::get(static::$message_error_remove)); |
| 127 |
|
} |
| 128 |
|
|
| 129 |
|
# ------------------------ |
| 130 |
|
|