diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 10:58:24 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 10:58:24 +0200 |
commit | a810b213733585a12d22f3e94bfb4e1fa3cb3f5b (patch) | |
tree | dd1118f1da4dd7005065955b075210f734770f24 /lib/private/Command/CommandJob.php | |
parent | d80dad42a34879d847e68d93985dff3e365721f2 (diff) | |
download | nextcloud-server-a810b213733585a12d22f3e94bfb4e1fa3cb3f5b.tar.gz nextcloud-server-a810b213733585a12d22f3e94bfb4e1fa3cb3f5b.zip |
Replace opis/closure with laravel/serializable-closure in code
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Command/CommandJob.php')
-rw-r--r-- | lib/private/Command/CommandJob.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Command/CommandJob.php b/lib/private/Command/CommandJob.php index 6fa0c6d7ceb..5b267162c81 100644 --- a/lib/private/Command/CommandJob.php +++ b/lib/private/Command/CommandJob.php @@ -30,7 +30,7 @@ use OCP\Command\ICommand; */ class CommandJob extends QueuedJob { protected function run($serializedCommand) { - $command = \Opis\Closure\unserialize($serializedCommand); + $command = unserialize($serializedCommand); if ($command instanceof ICommand) { $command->handle(); } else { |