mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/10631] Fixing a few extension admin issues
PHPBB3-10631
This commit is contained in:
@@ -60,7 +60,6 @@ class phpbb_extension_metadata_manager
|
|||||||
*/
|
*/
|
||||||
public function get_metadata($element = 'all')
|
public function get_metadata($element = 'all')
|
||||||
{
|
{
|
||||||
// TODO: Check ext_name exists and is an extension that exists
|
|
||||||
$this->set_metadata_file();
|
$this->set_metadata_file();
|
||||||
|
|
||||||
// Fetch the metadata
|
// Fetch the metadata
|
||||||
@@ -339,7 +338,5 @@ class phpbb_extension_metadata_manager
|
|||||||
'AUTHOR_ROLE' => (isset($author['role'])) ? htmlspecialchars($author['role']) : '',
|
'AUTHOR_ROLE' => (isset($author['role'])) ? htmlspecialchars($author['role']) : '',
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"description": "An example/sample extension to be used for testing purposes in phpBB Development.",
|
"description": "An example/sample extension to be used for testing purposes in phpBB Development.",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"time": "2012-02-15 01:01:01",
|
"time": "2012-02-15 01:01:01",
|
||||||
"licence": "GNU GPL v2",
|
"licence": "GPL-2.0",
|
||||||
"authors": [{
|
"authors": [{
|
||||||
"name": "Nathan Guse",
|
"name": "Nathan Guse",
|
||||||
"username": "EXreaction",
|
"username": "EXreaction",
|
||||||
|
Reference in New Issue
Block a user