aboutsummaryrefslogtreecommitdiff
path: root/r7r_repo/pluginpackage.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-02 01:00:20 +0200
committerKevin Chabowski <kevin@kch42.de>2013-10-02 01:00:20 +0200
commite7f507db0a8f6cb6f92ad0430ccc7a8796f448fb (patch)
tree17f5ad78d5eb38706752deb87d163f394ba1b383 /r7r_repo/pluginpackage.php
parent210ce1822344190f02771e69bac07fbda99c349e (diff)
downloadr7r-repo-e7f507db0a8f6cb6f92ad0430ccc7a8796f448fb.tar.gz
r7r-repo-e7f507db0a8f6cb6f92ad0430ccc7a8796f448fb.tar.bz2
r7r-repo-e7f507db0a8f6cb6f92ad0430ccc7a8796f448fb.zip
!!!READ FULL COMMIT MESSAGE!!!
This commit fixes a bug in the PluginPackage class. Before this fix, metadata was not extracted correctly. Since r7r-repo does not generate these dynamically for every request, you need to fix them manually: This PHP script will fix them for you: https://gist.github.com/kch42/6786529
Diffstat (limited to 'r7r_repo/pluginpackage.php')
-rw-r--r--r7r_repo/pluginpackage.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/r7r_repo/pluginpackage.php b/r7r_repo/pluginpackage.php
index cf667cc..863df71 100644
--- a/r7r_repo/pluginpackage.php
+++ b/r7r_repo/pluginpackage.php
@@ -236,15 +236,15 @@ class PluginPackage
{
$meta = new PluginPackageMeta();
- $meta->name = $this>name;
- $meta->author = $this>author;
- $meta->versiontext = $this>versiontext;
- $meta->versioncount = $this>versioncount;
- $meta->api = $this>api;
- $meta->short_description = $this>short_description;
- $meta->updatepath = $this>updatepath;
- $meta->web = $this>web;
- $meta->license = $this>license;
+ $meta->name = $this->name;
+ $meta->author = $this->author;
+ $meta->versiontext = $this->versiontext;
+ $meta->versioncount = $this->versioncount;
+ $meta->api = $this->api;
+ $meta->short_description = $this->short_description;
+ $meta->updatepath = $this->updatepath;
+ $meta->web = $this->web;
+ $meta->license = $this->license;
return $meta;
}