diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-30 09:43:40 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-30 09:43:40 +0200 |
commit | 8e9726be5c39e5df7956e8539f201e4213ab6aba (patch) | |
tree | 754247ff5fe24d43c623b25d68b5bd4c887e698f /lib/private | |
parent | c0c841bc930effd25bb8a30ef547021e68cc34f0 (diff) | |
download | nextcloud-server-8e9726be5c39e5df7956e8539f201e4213ab6aba.tar.gz nextcloud-server-8e9726be5c39e5df7956e8539f201e4213ab6aba.zip |
Log usages of the deprecated app.php file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/legacy/OC_App.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 85fd8c99f05..f4308dae2fd 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -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); |