summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/api/v2/file.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/controllers/api/v2/file.php b/application/controllers/api/v2/file.php
index 79da1c4b8..6eb0ae43b 100644
--- a/application/controllers/api/v2/file.php
+++ b/application/controllers/api/v2/file.php
@@ -61,10 +61,6 @@ class file extends \controllers\api\api_controller {
$this->muser->require_access("apikey");
$history = \service\files::history($this->muser->get_userid());
foreach ($history['multipaste_items'] as $key => $item) {
- # APIv1-cleanup: Remove this
- unset($history['multipaste_items'][$key]['user_id']);
- unset($history['multipaste_items'][$key]['multipaste_id']);
-
foreach ($item['items'] as $inner_key => $item) {
unset($history['multipaste_items'][$key]['items'][$inner_key]['sort_order']);
}