Log usages of the deprecated app.php file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
c0c841bc93
commit
8e9726be5c
|
@ -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 New Issue