aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2023-09-17 10:14:20 +0200
committerGitHub <noreply@github.com>2023-09-17 10:14:20 +0200
commit9627176a23e274dd9dbe8bfc481e3882f23d6f50 (patch)
treec2d2cd35ab778dd010a0ebdf5aca035819ef609f /apps/dav/appinfo/v1
parent16e584ce6cac844d15adcf75692a6f5ab3fbd698 (diff)
parentbbfe2fb821f00713f46fd896a41dfc62cc02c31a (diff)
downloadnextcloud-server-9627176a23e274dd9dbe8bfc481e3882f23d6f50.tar.gz
nextcloud-server-9627176a23e274dd9dbe8bfc481e3882f23d6f50.zip
Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_app
Refactors "strpos" calls in /apps/dav
Diffstat (limited to 'apps/dav/appinfo/v1')
-rw-r--r--apps/dav/appinfo/v1/webdav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php
index 7c6a3fc77a6..ed02b4c259a 100644
--- a/apps/dav/appinfo/v1/webdav.php
+++ b/apps/dav/appinfo/v1/webdav.php
@@ -31,7 +31,7 @@
use Psr\Log\LoggerInterface;
// no php execution timeout for webdav
-if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
+if (!str_contains(@ini_get('disable_functions'), 'set_time_limit')) {
@set_time_limit(0);
}
ignore_user_abort(true);