Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
c90da6fe
Commit
c90da6fe
authored
Jul 14, 2017
by
Thomas Löffler
Browse files
Fixes check for outdated extensions
parent
57e8f1cc
Pipeline
#1569
passed with stages
in 3 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter_fe2/Classes/Task/CheckForOutdatedExtensions.php
View file @
c90da6fe
...
...
@@ -137,7 +137,7 @@ class CheckForOutdatedExtensions extends Task
{
$oldestMinorVersion
=
explode
(
'.'
,
$this
->
supportedCoreVersions
[
'oldest'
]);
$oldestMinorVersion
=
$oldestMinorVersion
[
0
]
.
'.'
.
$oldestMinorVersion
[
1
]
;
$oldestMinorVersion
=
$oldestMinorVersion
[
0
];
$releaseDate
=
$this
->
coreVersions
[
$oldestMinorVersion
][
'releases'
][
$this
->
supportedCoreVersions
[
'oldest'
]][
'date'
];
...
...
@@ -240,12 +240,12 @@ class CheckForOutdatedExtensions extends Task
/**
* check if the given version is outdated and mark it in database
*
* @param integer $version
* @param integer $version
Record
*/
protected
function
checkVersion
(
$version
)
protected
function
checkVersion
(
$version
Record
)
{
/** @var \T3o\TerFe2\Domain\Model\Version $version */
$version
=
$this
->
versionRepository
->
findByUid
(
$version
[
'uid'
]);
$version
=
$this
->
versionRepository
->
findByUid
(
$version
Record
[
'uid'
]);
if
(
!
$version
instanceof
\
T3o\TerFe2\Domain\Model\Version
)
{
return
;
...
...
@@ -264,7 +264,6 @@ class CheckForOutdatedExtensions extends Task
// Check against dependency against TYPO3 not actively supported
}
if
(
$isOutdated
)
{
$this
->
getDatabaseConnection
()
->
exec_UPDATEquery
(
'tx_terfe2_domain_model_version'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment