[ticket/10631] Fixing a few extension admin issues

PHPBB3-10631
This commit is contained in:
Unknown Bliss 2012-08-17 14:38:03 +01:00
parent 323bbf9b52
commit f05a175e39
2 changed files with 1 additions and 4 deletions

View file

@ -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;
} }
} }

View file

@ -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",