aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Command/CommandJob.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/CommandJob.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/CommandJob.php')
-rw-r--r--lib/private/Command/CommandJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Command/CommandJob.php b/lib/private/Command/CommandJob.php
index 7b2ae60beab..6b1e79f93de 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 = unserialize($serializedCommand);
+ $command = \Opis\Closure\unserialize($serializedCommand);
if ($command instanceof ICommand) {
$command->handle();
} else {