diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-07-19 13:15:14 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-07-19 13:15:14 +0200 |
commit | 7389567c7d05ba994533b7273cba1e5818a20b94 (patch) | |
tree | d105ae50b58c3836de514969f65525e5c37ebb96 /lib/private/TextProcessing | |
parent | d63c122ec0071cc1d0417eaa5eb1a85e41290263 (diff) | |
download | nextcloud-server-7389567c7d05ba994533b7273cba1e5818a20b94.tar.gz nextcloud-server-7389567c7d05ba994533b7273cba1e5818a20b94.zip |
Remove Task::factory method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/private/TextProcessing')
-rw-r--r-- | lib/private/TextProcessing/Db/Task.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TextProcessing/Db/Task.php b/lib/private/TextProcessing/Db/Task.php index bc1bbdc13db..8e800c76df8 100644 --- a/lib/private/TextProcessing/Db/Task.php +++ b/lib/private/TextProcessing/Db/Task.php @@ -103,7 +103,7 @@ class Task extends Entity { } public function toPublicTask(): OCPTask { - $task = OCPTask::factory($this->getType(), $this->getInput(), $this->getuserId(), $this->getAppId(), $this->getIdentifier()); + $task = new OCPTask($this->getType(), $this->getInput(), $this->getuserId(), $this->getAppId(), $this->getIdentifier()); $task->setId($this->getId()); $task->setStatus($this->getStatus()); $task->setOutput($this->getOutput()); |