diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2010-12-29 14:52:41 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2010-12-29 14:52:41 -0500 |
commit | c5b68710b70cf6f01ec5f7117930d9b2c1f7f15e (patch) | |
tree | 9da4d3af4dd164551140430494968e5b5bf0580b /lib | |
parent | 7e5c79095f86d5d92237ec32ced05316518c6e22 (diff) |
It appears that I made a few mistakes in which changes I had git commit, and reject.1.0.x
* actions/pluginsadminpanel.php:
o replace a `;' with a `.'; accidentally rejected change
o change the text 'Default plugins' to 'Available plugins'; didn't get applied
* lib/pliginlist.php
o un-delete line from metaInfo(); ?
o apply changes to getPluginVersion()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pluginlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pluginlist.php b/lib/pluginlist.php index 48ef1cb81..c0ad41c69 100644 --- a/lib/pluginlist.php +++ b/lib/pluginlist.php @@ -170,6 +170,7 @@ class PluginListItem extends Widget */ function metaInfo() { + $versions = self::getPluginVersions(); return $versions[$this->plugin]; } @@ -180,8 +181,7 @@ class PluginListItem extends Widget protected static function getPluginVersions() { if (!is_array(self::$versions)) { - $versions = array(); - Event::handle('PluginVersion', array(&$versions)); + $versions = common_plugindata(); self::$versions = $versions; } return self::$versions; |