aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-03 14:23:49 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-03 14:23:49 +0200
commit0232fcc22ac8e5e7ba916db9049a903f53788421 (patch)
tree84efc4e14f9d764b194b9890535f7e4797630f11 /phpBB
parenta0e00889d1a03804625522405824ac8cbce15c22 (diff)
parent3f0dec4ce69abeb1a3c4ca043dc1ff8783f1c06d (diff)
downloadforums-0232fcc22ac8e5e7ba916db9049a903f53788421.tar
forums-0232fcc22ac8e5e7ba916db9049a903f53788421.tar.gz
forums-0232fcc22ac8e5e7ba916db9049a903f53788421.tar.bz2
forums-0232fcc22ac8e5e7ba916db9049a903f53788421.tar.xz
forums-0232fcc22ac8e5e7ba916db9049a903f53788421.zip
Merge pull request #2673 from nickvergessen/ticket/12783
Ticket/12783 Move require:phpbb/phpbb to extra:phpbb/phpbb in Extensions composer.json files * nickvergessen/ticket/12783: [ticket/12783] Move phpbb requirement to extra->soft-require [ticket/12783] Correctly use dataProviders and mark tests as incomplete [ticket/12783] Move phpbb/phpbb require version to extra
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/extension/metadata_manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/extension/metadata_manager.php b/phpBB/phpbb/extension/metadata_manager.php
index 014d8c79c7..1051021ea7 100644
--- a/phpBB/phpbb/extension/metadata_manager.php
+++ b/phpBB/phpbb/extension/metadata_manager.php
@@ -306,7 +306,7 @@ class metadata_manager
*/
public function validate_require_phpbb()
{
- if (!isset($this->metadata['require']['phpbb/phpbb']))
+ if (!isset($this->metadata['extra']['soft-require']['phpbb/phpbb']))
{
return false;
}
@@ -369,7 +369,7 @@ class metadata_manager
'META_REQUIRE_PHP' => (isset($this->metadata['require']['php'])) ? htmlspecialchars($this->metadata['require']['php']) : '',
'META_REQUIRE_PHP_FAIL' => !$this->validate_require_php(),
- 'META_REQUIRE_PHPBB' => (isset($this->metadata['require']['phpbb/phpbb'])) ? htmlspecialchars($this->metadata['require']['phpbb/phpbb']) : '',
+ 'META_REQUIRE_PHPBB' => (isset($this->metadata['extra']['soft-require']['phpbb/phpbb'])) ? htmlspecialchars($this->metadata['extra']['soft-require']['phpbb/phpbb']) : '',
'META_REQUIRE_PHPBB_FAIL' => !$this->validate_require_phpbb(),
'META_DISPLAY_NAME' => (isset($this->metadata['extra']['display-name'])) ? htmlspecialchars($this->metadata['extra']['display-name']) : '',