Skip to content

Commit

Permalink
drop support for Nextcloud 25
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <[email protected]>
  • Loading branch information
Grotax committed Aug 22, 2023
1 parent eb9ec5d commit ca9e07b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/api-php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
]]></description>
<version>23.0.0</version>
<version>24.0.0</version>
<licence>agpl</licence>
<author>Benjamin Brahmer</author>
<author>Sean Molenaar</author>
Expand Down Expand Up @@ -55,7 +55,7 @@ Report a [feed issue](https://github.com/nextcloud/news/discussions/new)
<lib>json</lib>

<owncloud max-version="0" min-version="0"/>
<nextcloud min-version="25" max-version="27"/>
<nextcloud min-version="26" max-version="27"/>
</dependencies>

<background-jobs>
Expand Down
8 changes: 2 additions & 6 deletions lib/Service/StatusService.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,8 @@ public function getUpdateTime(): int

$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;
}
Expand Down

0 comments on commit ca9e07b

Please sign in to comment.