From 8ab3ad65310abf558b85253c92b015879f31e594 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 3 Nov 2024 08:48:53 +0100 Subject: Zotlabs\Module\Setup: Fix deprecation. Using `self` in callables has been deprecated, so change to proper fully qualified class name. --- Zotlabs/Module/Setup.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Zotlabs') 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( -- cgit v1.2.3