From cbe1076278ef7ad104a5e8f4805d250c64bd610f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 7 Sep 2016 21:07:25 +0200 Subject: s/multipaste_queue: Remove duplicate assignment Signed-off-by: Florian Pritz --- application/service/multipaste_queue.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'application') 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);}, []); -- cgit v1.2.3-24-g4f1b