aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2024-09-15 20:55:23 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2024-09-15 20:55:23 +0200
commit903484a8844f1849fb29b1c8720a2aed2f1ebfa2 (patch)
treee981383a79be0d4fe1a5a0cf9c80b0bc2bd0865a /lib
parent5a8d0a2721141f0edccc04feb21f0d35ab40eca9 (diff)
downloadnextcloud-server-903484a8844f1849fb29b1c8720a2aed2f1ebfa2.tar.gz
nextcloud-server-903484a8844f1849fb29b1c8720a2aed2f1ebfa2.zip
refactor: migrate dirname to __DIR__ constantsrefactor/dirname-to-dir
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/TempManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TempManager.php b/lib/private/TempManager.php
index 74b4d6b1f24..f55d722d9d9 100644
--- a/lib/private/TempManager.php
+++ b/lib/private/TempManager.php
@@ -216,7 +216,7 @@ class TempManager implements ITempManager {
}
}
- $temp = tempnam(dirname(__FILE__), '');
+ $temp = tempnam(__DIR__, '');
if (file_exists($temp)) {
unlink($temp);
return dirname($temp);