|
@@ 278-281 (lines=4) @@
|
| 275 |
|
case 'installed': |
| 276 |
|
$apps = $appClass->listAllApps(); |
| 277 |
|
|
| 278 |
|
foreach($apps as $key => $app) { |
| 279 |
|
$newVersion = \OC\Installer::isUpdateAvailable($app['id'], $this->appFetcher); |
| 280 |
|
$apps[$key]['update'] = $newVersion; |
| 281 |
|
} |
| 282 |
|
|
| 283 |
|
usort($apps, function ($a, $b) { |
| 284 |
|
$a = (string)$a['name']; |
|
@@ 299-302 (lines=4) @@
|
| 296 |
|
return $app['active']; |
| 297 |
|
}); |
| 298 |
|
|
| 299 |
|
foreach($apps as $key => $app) { |
| 300 |
|
$newVersion = \OC\Installer::isUpdateAvailable($app['id'], $this->appFetcher); |
| 301 |
|
$apps[$key]['update'] = $newVersion; |
| 302 |
|
} |
| 303 |
|
|
| 304 |
|
usort($apps, function ($a, $b) { |
| 305 |
|
$a = (string)$a['name']; |