Clean up code
This commit is contained in:
parent
c2b6b4be5f
commit
dd6233e81d
|
|
@ -52,6 +52,7 @@ class Updates extends Controller
|
|||
$this->vars['projectId'] = Parameters::get('system::project.id');
|
||||
$this->vars['projectName'] = Parameters::get('system::project.name');
|
||||
$this->vars['projectOwner'] = Parameters::get('system::project.owner');
|
||||
$this->vars['pluginsCount'] = PluginVersion::count();
|
||||
return $this->asExtension('ListController')->index();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
<?php endif ?>
|
||||
<div class="scoreboard-item title-value">
|
||||
<h4><?= e(trans('system::lang.updates.plugins')) ?></h4>
|
||||
<p><?= DB::table('system_plugin_versions')->count() ?></p>
|
||||
<p><?= $pluginsCount ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue