summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-04-22 16:55:42 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-04-22 16:55:42 +0200
commit5d1ca7e25aee8264b3dff79eed10eba0568ce82f (patch)
tree648ff723576601c01bf99782e8b5c21a1ac95265 /lib/public/AppFramework
parent37c89f41918b316c8ba2961a6c7e8ab417161ba9 (diff)
downloadnextcloud-server-5d1ca7e25aee8264b3dff79eed10eba0568ce82f.tar.gz
nextcloud-server-5d1ca7e25aee8264b3dff79eed10eba0568ce82f.zip
fix: Drop workarounds for unsupported obsolete PHP versions
Also improved error handling in Installer.php to be type safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r--lib/public/AppFramework/App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/App.php b/lib/public/AppFramework/App.php
index f62c464ea55..1b601820539 100644
--- a/lib/public/AppFramework/App.php
+++ b/lib/public/AppFramework/App.php
@@ -73,7 +73,7 @@ class App {
*/
public function __construct(string $appName, array $urlParams = []) {
$runIsSetupDirectly = \OC::$server->getConfig()->getSystemValueBool('debug')
- && (PHP_VERSION_ID < 70400 || (PHP_VERSION_ID >= 70400 && !ini_get('zend.exception_ignore_args')));
+ && !ini_get('zend.exception_ignore_args');
if ($runIsSetupDirectly) {
$applicationClassName = get_class($this);