|
@@ 290-293 (lines=4) @@
|
| 287 |
|
case 'installed': |
| 288 |
|
$apps = $appClass->listAllApps(); |
| 289 |
|
|
| 290 |
|
foreach($apps as $key => $app) { |
| 291 |
|
$newVersion = \OC\Installer::isUpdateAvailable($app['id'], $this->appFetcher); |
| 292 |
|
$apps[$key]['update'] = $newVersion; |
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
usort($apps, function ($a, $b) { |
| 296 |
|
$a = (string)$a['name']; |
|
@@ 311-314 (lines=4) @@
|
| 308 |
|
return $app['active']; |
| 309 |
|
}); |
| 310 |
|
|
| 311 |
|
foreach($apps as $key => $app) { |
| 312 |
|
$newVersion = \OC\Installer::isUpdateAvailable($app['id'], $this->appFetcher); |
| 313 |
|
$apps[$key]['update'] = $newVersion; |
| 314 |
|
} |
| 315 |
|
|
| 316 |
|
usort($apps, function ($a, $b) { |
| 317 |
|
$a = (string)$a['name']; |