aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-11-03 10:57:03 +0000
committerMario <mario@mariovavti.com>2024-11-03 10:57:03 +0000
commit5db3f93be9e9777184609a7f7e6988d36dfc5615 (patch)
tree113b13ddb540b0740f7f16badd67d2b59842795b /Zotlabs
parente20327d26760adbea6554268119bc671e0199afb (diff)
parent8ab3ad65310abf558b85253c92b015879f31e594 (diff)
downloadvolse-hubzilla-5db3f93be9e9777184609a7f7e6988d36dfc5615.tar.gz
volse-hubzilla-5db3f93be9e9777184609a7f7e6988d36dfc5615.tar.bz2
volse-hubzilla-5db3f93be9e9777184609a7f7e6988d36dfc5615.zip
Merge branch 'php8.2-deprecations' into 'dev'
Fix deprecations uncovered by running tests on PHP 8.2 See merge request hubzilla/core!2156
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Setup.php5
-rw-r--r--Zotlabs/Web/HttpMeta.php13
2 files changed, 7 insertions, 11 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 35079e5e5..5b423f67d 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -263,7 +263,10 @@ class Setup extends \Zotlabs\Web\Controller {
$this->check_htaccess($checks);
- $checkspassed = array_reduce($checks, "self::check_passed", true);
+ $checkspassed = array_reduce(
+ $checks,
+ "Zotlabs\Module\Setup::check_passed",
+ true);
$tpl = get_markup_template('install_checks.tpl');
$o .= replace_macros($tpl, array(
diff --git a/Zotlabs/Web/HttpMeta.php b/Zotlabs/Web/HttpMeta.php
index 7cf93dda9..d12037a51 100644
--- a/Zotlabs/Web/HttpMeta.php
+++ b/Zotlabs/Web/HttpMeta.php
@@ -5,16 +5,9 @@ namespace Zotlabs\Web;
class HttpMeta {
- private $vars = null;
- private $og = null;
-
- function __construct() {
-
- $this->vars = [];
- $this->og = [];
- $this->ogproperties = [];
-
- }
+ private $vars = [];
+ private $og = [];
+ private $ogproperties = [];
//Set Meta Value
// Mode: