summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-07 21:07:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-01 17:26:31 +0100
commitcbe1076278ef7ad104a5e8f4805d250c64bd610f (patch)
treeb78cadda627f95ff2d0e2b3d9068edc76575d084
parenta0507bfaef62dd3ef8589e205114ee57471c1a5f (diff)
s/multipaste_queue: Remove duplicate assignment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/service/multipaste_queue.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/application/service/multipaste_queue.php b/application/service/multipaste_queue.php
index 1836eeacb..28ff683b7 100644
--- a/application/service/multipaste_queue.php
+++ b/application/service/multipaste_queue.php
@@ -29,8 +29,6 @@ class multipaste_queue {
public function append(array $ids) {
$old_ids = $this->get();
- $old_ids = $this->get();
-
# replace multipaste ids with their corresponding paste ids
$ids = array_map(function($id) {return array_values($this->resolve_multipaste($id));}, $ids);
$ids = array_reduce($ids, function($a, $b) {return array_merge($a, $b);}, []);