aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-09-25 11:03:10 +0200
committerGitHub <noreply@github.com>2023-09-25 11:03:10 +0200
commitbbfa9d1440e41ae9f933bcf37e30a0bc2043dd10 (patch)
tree6f046856db99c7c946e30e97d31d5bce3cf458d2 /lib
parent8a65cf44cbc743f694610f710cb2078bb6935915 (diff)
parent97a024f03598d6d6bfc26a860f4a3d5e2803b779 (diff)
downloadnextcloud-server-bbfa9d1440e41ae9f933bcf37e30a0bc2043dd10.tar.gz
nextcloud-server-bbfa9d1440e41ae9f933bcf37e30a0bc2043dd10.zip
Merge pull request #40505 from nextcloud/chore/noid/remove-opis-closure
chore(3rdparty): remove opis/closure
Diffstat (limited to 'lib')
-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();