From e7291add38a9c3e79105759fb14a7f6ae1d923dd Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 7 Oct 2016 12:53:02 +0200 Subject: Remove API v1 compatability code Signed-off-by: Florian Pritz --- application/controllers/api/v2/file.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'application/controllers') 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']); } -- cgit v1.2.3-24-g4f1b