Skip to content
Snippets Groups Projects
Unverified Commit 0e42d054 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #21632 from nextcloud/techdebt/app-php-deprecation-log

Log usages of the deprecated app.php file
parents aca0046a 8e9726be
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,9 @@ class OC_App {
self::registerAutoloading($app, $appPath);
if (is_file($appPath . '/appinfo/app.php')) {
\OC::$server->getLogger()->debug('/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.', [
'app' => $app,
]);
\OC::$server->getEventLogger()->start('load_app_' . $app, 'Load app: ' . $app);
try {
self::requireAppFile($app);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment