diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-09-07 21:07:25 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-11-01 17:26:31 +0100 |
commit | cbe1076278ef7ad104a5e8f4805d250c64bd610f (patch) | |
tree | b78cadda627f95ff2d0e2b3d9068edc76575d084 /application | |
parent | a0507bfaef62dd3ef8589e205114ee57471c1a5f (diff) |
s/multipaste_queue: Remove duplicate assignment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r-- | application/service/multipaste_queue.php | 2 |
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);}, []); |