aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/classes/ElggPluginManifest.php4
-rw-r--r--engine/tests/api/plugins.php8
-rw-r--r--views/default/object/plugin/full.php4
3 files changed, 8 insertions, 8 deletions
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index 5706d1e42..a1fe66856 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -290,7 +290,7 @@ class ElggPluginManifest {
*
* @return string
*/
- public function getBugTracker() {
+ public function getBugTrackerURL() {
return $this->parser->getAttribute('bugtracker');
}
@@ -299,7 +299,7 @@ class ElggPluginManifest {
*
* @return string
*/
- public function getDonationsPage() {
+ public function getDonationsPageURL() {
return $this->parser->getAttribute('donations');
}
diff --git a/engine/tests/api/plugins.php b/engine/tests/api/plugins.php
index 3b650f1b0..114f3991b 100644
--- a/engine/tests/api/plugins.php
+++ b/engine/tests/api/plugins.php
@@ -174,13 +174,13 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
}
public function testElggPluginManifestGetBugtracker() {
- $this->assertEqual($this->manifest18->getBugTracker(), 'http://trac.elgg.org');
- $this->assertEqual($this->manifest17->getBugTracker(), '');
+ $this->assertEqual($this->manifest18->getBugTrackerURL(), 'http://trac.elgg.org');
+ $this->assertEqual($this->manifest17->getBugTrackerURL(), '');
}
public function testElggPluginManifestGetDonationsPage() {
- $this->assertEqual($this->manifest18->getDonationsPage(), 'http://elgg.org/supporter.php');
- $this->assertEqual($this->manifest17->getDonationsPage(), '');
+ $this->assertEqual($this->manifest18->getDonationsPageURL(), 'http://elgg.org/supporter.php');
+ $this->assertEqual($this->manifest17->getDonationsPageURL(), '');
}
public function testElggPluginManifestGetCopyright() {
diff --git a/views/default/object/plugin/full.php b/views/default/object/plugin/full.php
index 76e1136f2..2de65b555 100644
--- a/views/default/object/plugin/full.php
+++ b/views/default/object/plugin/full.php
@@ -174,8 +174,8 @@ $website = elgg_view('output/url', array(
$resources = array(
'repository' => $plugin->getManifest()->getRepositoryURL(),
- 'bugtracker' => $plugin->getManifest()->getBugTracker(),
- 'donate' => $plugin->getManifest()->getDonationsPage(),
+ 'bugtracker' => $plugin->getManifest()->getBugTrackerURL(),
+ 'donate' => $plugin->getManifest()->getDonationsPageURL(),
);
$resources_html = "<ul class=\"elgg-plugin-resources\">";