mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #21632 from nextcloud/techdebt/app-php-deprecation-log
Log usages of the deprecated app.php file
This commit is contained in:
commit
0e42d05457
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue