From c5b68710b70cf6f01ec5f7117930d9b2c1f7f15e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 29 Dec 2010 14:52:41 -0500 Subject: It appears that I made a few mistakes in which changes I had git commit, and reject. * 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() --- lib/pluginlist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3-54-g00ecf