diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2017-03-24 23:18:50 +0100 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2017-03-24 23:18:50 +0100 |
| commit | 827ded82b8110fd2c587d9d7c84731ee7215b166 (patch) | |
| tree | 31cc7b5195f8b9136c05302cfca9ba4db11b03c4 /phpBB/phpbb | |
| parent | 927220c87372c41abd0d8f4ff30937e7e4befceb (diff) | |
| parent | 45c3cb52e43ba662209310e761644789b541b786 (diff) | |
| download | forums-827ded82b8110fd2c587d9d7c84731ee7215b166.tar forums-827ded82b8110fd2c587d9d7c84731ee7215b166.tar.gz forums-827ded82b8110fd2c587d9d7c84731ee7215b166.tar.bz2 forums-827ded82b8110fd2c587d9d7c84731ee7215b166.tar.xz forums-827ded82b8110fd2c587d9d7c84731ee7215b166.zip | |
Merge pull request #4757 from VSEphpbb/ticket/15143
[ticket/15143] Fix display of version update in ACP
* github.com:phpbb/phpbb:
[ticket/15143] Fix display of version update in ACP
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/version_helper.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php index 135d390584..b00f4f1d5f 100644 --- a/phpBB/phpbb/version_helper.php +++ b/phpBB/phpbb/version_helper.php @@ -184,7 +184,7 @@ class version_helper $self = $this; $current_version = $this->current_version; - // Filter out any versions less than to the current version + // Filter out any versions less than the current version $versions = array_filter($versions, function($data) use ($self, $current_version) { return $self->compare($data['current'], $current_version, '>='); }); @@ -218,7 +218,7 @@ class version_helper $self = $this; $current_version = $this->current_version; - // Filter out any versions less than to the current version + // Filter out any versions less than the current version $versions = array_filter($versions, function($data) use ($self, $current_version) { return $self->compare($data['current'], $current_version, '>='); }); @@ -248,7 +248,7 @@ class version_helper * * @param bool $force_update Ignores cached data. Defaults to false. * @param bool $force_cache Force the use of the cache. Override $force_update. - * @return string + * @return array * @throws \RuntimeException */ public function get_suggested_updates($force_update = false, $force_cache = false) @@ -269,7 +269,7 @@ class version_helper * * @param bool $force_update Ignores cached data. Defaults to false. * @param bool $force_cache Force the use of the cache. Override $force_update. - * @return string Version info + * @return array Version info * @throws \RuntimeException */ public function get_versions_matching_stability($force_update = false, $force_cache = false) @@ -289,7 +289,7 @@ class version_helper * * @param bool $force_update Ignores cached data. Defaults to false. * @param bool $force_cache Force the use of the cache. Override $force_update. - * @return string Version info, includes stable and unstable data + * @return array Version info, includes stable and unstable data * @throws \RuntimeException */ public function get_versions($force_update = false, $force_cache = false) |
