summaryrefslogtreecommitdiffstats
path: root/application/controllers/api
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-10-07 12:53:02 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-05 19:44:15 +0100
commite7291add38a9c3e79105759fb14a7f6ae1d923dd (patch)
tree3837f0fda87a94a8c4cf56e3159912e0a73dc4eb /application/controllers/api
parent13bb81e04c1116fae955dc39bbfe5fcb8b17313f (diff)
Remove API v1 compatability code
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/api')
-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']);
}