aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/TextToImage/Task.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-23 11:42:32 +0200
committerGitHub <noreply@github.com>2023-10-23 11:42:32 +0200
commit1f090a3ad7929e40a1c9af14da45305e3705058b (patch)
tree6bd35c7d48820e13d7cd2088ebd74c86780d542f /lib/public/TextToImage/Task.php
parent4624748937cee05447323001af3c81c84bb048d1 (diff)
downloadnextcloud-server-1f090a3ad7929e40a1c9af14da45305e3705058b.tar.gz
nextcloud-server-1f090a3ad7929e40a1c9af14da45305e3705058b.zip
Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/public/TextToImage/Task.php')
-rw-r--r--lib/public/TextToImage/Task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/TextToImage/Task.php b/lib/public/TextToImage/Task.php
index 4b3948bc678..e610af6aa96 100644
--- a/lib/public/TextToImage/Task.php
+++ b/lib/public/TextToImage/Task.php
@@ -90,7 +90,7 @@ final class Task implements \JsonSerializable {
* @since 28.0.0
*/
final public function getOutputImages(): ?array {
- $appData = \OC::$server->get(IAppDataFactory::class)->get('core');
+ $appData = \OCP\Server::get(IAppDataFactory::class)->get('core');
try {
$folder = $appData->getFolder('text2image')->getFolder((string)$this->getId());
$images = [];