Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop support for Nextcloud 25 #2316

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading