mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 00:38:04 +08:00
Resolve #778
This commit is contained in:
parent
54896bf044
commit
9fb7cd881f
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ abstract class Repository
|
|||
// is this entry newer then an already defined one
|
||||
&& (empty($aResult[$oItem->id]) || \version_compare($aResult[$oItem->id]['version'], $oItem->version, '<'))
|
||||
// does this entry require same or older app version
|
||||
&& ($isDev || empty($oItem->required) || \version_compare(APP_VERSION, $oItem->required, '<='))
|
||||
&& ($isDev || empty($oItem->required) || \version_compare(APP_VERSION, $oItem->required, '>='))
|
||||
// is this entry not deprecated for current app version?
|
||||
&& ($isDev || empty($oItem->deprecated) || \version_compare(APP_VERSION, $oItem->deprecated, '<'))
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue