diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-09-24 15:44:14 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-09-24 15:44:14 +0200 |
commit | 42ff43992437ed2c0bc27b7464107d9c207b8fb6 (patch) | |
tree | 9189e257956cebff97767d3403b1399b60d93eea /application | |
parent | 55cbb7897e09ba8d94f730e265ddc7ac5fff1c18 (diff) |
Remove unused length field when passing upload history to view
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r-- | application/controllers/Main.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/application/controllers/Main.php b/application/controllers/Main.php index fad781934..c0aded275 100644 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -588,9 +588,6 @@ class Main extends MY_Controller { ); $this->data['title'] .= ' - Upload history'; - foreach($fields as $length_key => $value) { - $lengths[$length_key] = mb_strlen($value); - } foreach ($history["multipaste_items"] as $key => $item) { $size = 0; @@ -641,7 +638,6 @@ class Main extends MY_Controller { } $this->data["items"] = $history["items"]; - $this->data["lengths"] = $lengths; $this->data["fields"] = $fields; $this->data["total_size"] = format_bytes($history["total_size"]); |