mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(profiler): Remove bogus profiler event start
This fixes profiler event graph by removing an event start which had no matching end() call. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
02452712a2
commit
01dbb8fca2
1 changed files with 2 additions and 4 deletions
|
|
@ -388,8 +388,8 @@ class AppManager implements IAppManager {
|
|||
if ($appPath === false) {
|
||||
return;
|
||||
}
|
||||
$eventLogger = \OC::$server->get(\OCP\Diagnostics\IEventLogger::class);
|
||||
$eventLogger->start("bootstrap:load_app:$app", "Load $app");
|
||||
$eventLogger = \OC::$server->get(IEventLogger::class);
|
||||
$eventLogger->start("bootstrap:load_app:$app", "Load app: $app");
|
||||
|
||||
// in case someone calls loadApp() directly
|
||||
\OC_App::registerAutoloading($app, $appPath);
|
||||
|
|
@ -400,8 +400,6 @@ class AppManager implements IAppManager {
|
|||
|
||||
$hasAppPhpFile = is_file($appPath . '/appinfo/app.php');
|
||||
|
||||
$eventLogger = \OC::$server->get(IEventLogger::class);
|
||||
$eventLogger->start('bootstrap:load_app_' . $app, 'Load app: ' . $app);
|
||||
if ($isBootable && $hasAppPhpFile) {
|
||||
$this->logger->error('/appinfo/app.php is not loaded when \OCP\AppFramework\Bootstrap\IBootstrap on the application class is used. Migrate everything from app.php to the Application class.', [
|
||||
'app' => $app,
|
||||
|
|
|
|||
Loading…
Reference in a new issue