X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FTheme.php;h=e5026904b8cef7936d4c2af75fe0ce600d8445c2;hb=cace4a8991575418e13a4212b20c220a5c8f227a;hp=7e5b89d2f9c506146c2f8c96fd788c4627a0602f;hpb=a97b540ebb3f1d5bb5c18b4c0fb631443d03b5a7;p=friendica.git diff --git a/src/Core/Theme.php b/src/Core/Theme.php index 7e5b89d2f9..e5026904b8 100644 --- a/src/Core/Theme.php +++ b/src/Core/Theme.php @@ -6,6 +6,7 @@ namespace Friendica\Core; +use Friendica\Core\Logger; use Friendica\Core\System; require_once 'boot.php'; @@ -106,7 +107,7 @@ class Theme // install and uninstall theme public static function uninstall($theme) { - logger("Addons: uninstalling theme " . $theme); + Logger::log("Addons: uninstalling theme " . $theme); include_once "view/theme/$theme/theme.php"; if (function_exists("{$theme}_uninstall")) { @@ -123,7 +124,7 @@ class Theme return false; } - logger("Addons: installing theme $theme"); + Logger::log("Addons: installing theme $theme"); include_once "view/theme/$theme/theme.php"; @@ -132,7 +133,7 @@ class Theme $func(); return true; } else { - logger("Addons: FAILED installing theme $theme"); + Logger::log("Addons: FAILED installing theme $theme"); return false; } }