diff options
author | Matt Friedman <maf675@gmail.com> | 2017-04-03 11:34:40 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2017-04-03 11:34:40 -0700 |
commit | 450402ea429e654aab01ae934772ddf90d2e6a38 (patch) | |
tree | 81c6c5fc9247daa4e543f84aef506e0c58e5ab0c /phpBB/phpbb | |
parent | 74054317d2caa08aef05997ad27a52d5ba20f369 (diff) | |
download | forums-450402ea429e654aab01ae934772ddf90d2e6a38.tar forums-450402ea429e654aab01ae934772ddf90d2e6a38.tar.gz forums-450402ea429e654aab01ae934772ddf90d2e6a38.tar.bz2 forums-450402ea429e654aab01ae934772ddf90d2e6a38.tar.xz forums-450402ea429e654aab01ae934772ddf90d2e6a38.zip |
[ticket/15142] Remove duplicate code
PHPBB3-15142
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/version_helper.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php index 614c93d781..34e471493e 100644 --- a/phpBB/phpbb/version_helper.php +++ b/phpBB/phpbb/version_helper.php @@ -274,7 +274,6 @@ class version_helper $branches = array_filter(array_keys($versions), function($branch) use ($self, $current_branch) { return $self->compare($branch, $current_branch, '>='); }); - $versions = !empty($branches) ? array_intersect_key($versions, array_flip($branches)) : $versions; if (!empty($branches)) { $versions = array_intersect_key($versions, array_flip($branches)); |