mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 00:27:27 +02:00
refactor: drop usage of Debug::log (#4202)
* refactor: drop usage of Debug::log * lint
This commit is contained in:
@@ -14,14 +14,12 @@ class UnraidCommunityApplicationsBridge extends BridgeAbstract
|
||||
|
||||
private function fetchApps()
|
||||
{
|
||||
Debug::log('Fetching all applications/plugins');
|
||||
$this->apps = getContents(self::APPSURI);
|
||||
$this->apps = json_decode($this->apps, true)['applist'];
|
||||
}
|
||||
|
||||
private function sortApps()
|
||||
{
|
||||
Debug::log('Sorting applications/plugins');
|
||||
usort($this->apps, function ($app1, $app2) {
|
||||
return $app1['FirstSeen'] < $app2['FirstSeen'] ? 1 : -1;
|
||||
});
|
||||
|
Reference in New Issue
Block a user