aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Command/ClosureJob.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-11-28 14:58:47 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-12-02 20:16:57 +0100
commit04c037ebfd80e6f91edafa24b2cd06ecceb1fc43 (patch)
tree009f85b5570536eef70909492ef0ecdf5cbc3b11 /lib/private/Command/ClosureJob.php
parent6f4d3edb5e5bcb343012b378e22500e614c2cc38 (diff)
downloadnextcloud-server-04c037ebfd80e6f91edafa24b2cd06ecceb1fc43.tar.gz
nextcloud-server-04c037ebfd80e6f91edafa24b2cd06ecceb1fc43.zip
[3rdparty] Migrate to Opis/Closure
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Command/ClosureJob.php')
-rw-r--r--lib/private/Command/ClosureJob.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Command/ClosureJob.php b/lib/private/Command/ClosureJob.php
index d67dad348a3..1f8470005e4 100644
--- a/lib/private/Command/ClosureJob.php
+++ b/lib/private/Command/ClosureJob.php
@@ -23,12 +23,10 @@
namespace OC\Command;
use OC\BackgroundJob\QueuedJob;
-use SuperClosure\Serializer;
class ClosureJob extends QueuedJob {
protected function run($serializedCallable) {
- $serializer = new Serializer();
- $callable = $serializer->unserialize($serializedCallable);
+ $callable = \Opis\Closure\unserialize($serializedCallable);
if (is_callable($callable)) {
$callable();
} else {