aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Command
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Command')
-rw-r--r--lib/private/Command/ClosureJob.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Command/ClosureJob.php b/lib/private/Command/ClosureJob.php
index 5639852e4db..180c5a33ec5 100644
--- a/lib/private/Command/ClosureJob.php
+++ b/lib/private/Command/ClosureJob.php
@@ -24,11 +24,10 @@ namespace OC\Command;
use OC\BackgroundJob\QueuedJob;
use Laravel\SerializableClosure\SerializableClosure as LaravelClosure;
-use Opis\Closure\SerializableClosure as OpisClosure;
class ClosureJob extends QueuedJob {
protected function run($serializedCallable) {
- $callable = unserialize($serializedCallable, [LaravelClosure::class, OpisClosure::class]);
+ $callable = unserialize($serializedCallable, [LaravelClosure::class]);
$callable = $callable->getClosure();
if (is_callable($callable)) {
$callable();