From e203e4bc1f38000afca13772530e7f9902a281a0 Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Fri, 11 Aug 2023 10:48:41 +0200 Subject: drop support for Nextcloud 25 Signed-off-by: Benjamin Brahmer --- .github/workflows/api-integration-tests.yml | 2 +- .github/workflows/api-php-tests.yml | 4 ++-- CHANGELOG.md | 3 ++- appinfo/info.xml | 4 ++-- lib/Service/StatusService.php | 8 ++------ 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/api-integration-tests.yml b/.github/workflows/api-integration-tests.yml index 3387861a5..5434403ae 100644 --- a/.github/workflows/api-integration-tests.yml +++ b/.github/workflows/api-integration-tests.yml @@ -29,7 +29,7 @@ jobs: strategy: matrix: php-versions: ['8.0', '8.1'] - nextcloud: ['stable25', 'stable26', 'stable27'] + nextcloud: ['stable26', 'stable27'] database: ['sqlite', 'pgsql', 'mysql'] experimental: [false] include: diff --git a/.github/workflows/api-php-tests.yml b/.github/workflows/api-php-tests.yml index dae893f22..9dbb20d8f 100644 --- a/.github/workflows/api-php-tests.yml +++ b/.github/workflows/api-php-tests.yml @@ -15,8 +15,8 @@ jobs: experimental: [false] codecoverage: [false] include: - - php-versions: 8.0 - nextcloud: stable25 + - php-versions: 8.2 + nextcloud: stable27 database: sqlite experimental: false codecoverage: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fb6bda61..eee7d403d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,9 @@ All notable changes to this project will be documented in this file. The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), older entries don't fully match. # Unreleased -## [23.x.x] +## [24.x.x] ### Changed +- Drop support for Nextcloud 25, Supported: 26, 27 ### Fixed diff --git a/appinfo/info.xml b/appinfo/info.xml index 3d3e90e9f..8e264a5ee 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -21,7 +21,7 @@ Create a [feature request](https://github.com/nextcloud/news/discussions/new) Report a [feed issue](https://github.com/nextcloud/news/discussions/new) ]]> - 23.0.0-beta1 + 24.0.0 agpl Benjamin Brahmer Sean Molenaar @@ -55,7 +55,7 @@ Report a [feed issue](https://github.com/nextcloud/news/discussions/new) json - + diff --git a/lib/Service/StatusService.php b/lib/Service/StatusService.php index 69a621e3c..09cea9e4a 100644 --- a/lib/Service/StatusService.php +++ b/lib/Service/StatusService.php @@ -92,12 +92,8 @@ class StatusService $time = 0; - [$major, $minor, $micro] = Util::getVersion(); - - if ($major >= 26) { - $myJobList = $this->jobList->getJobsIterator(UpdaterJob::class, 1, 0); - $time = $myJobList->current()->getLastRun(); - } + $myJobList = $this->jobList->getJobsIterator(UpdaterJob::class, 1, 0); + $time = $myJobList->current()->getLastRun(); return $time; } -- cgit v1.2.3