summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-09-27 12:33:04 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-09-27 12:33:04 +0200
commitb24ed43ebbe0bddef3f397baf54ead1304b71bbf (patch)
treee33bf5be2df72f0ab5dcf2cd66c06902c68d72ed /lib
parente037e428351f86cec1f908ab32cf8a94e5ac14cb (diff)
parent3e217a362fe66ee0dba6351d0c748290cdbb992e (diff)
downloadrpg-b24ed43ebbe0bddef3f397baf54ead1304b71bbf.tar.gz
rpg-b24ed43ebbe0bddef3f397baf54ead1304b71bbf.tar.bz2
Merge pull request #828 from ssahara/extension-make_info
Last Update Date info of extension fix
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/extension/helper/list.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/plugins/extension/helper/list.php b/lib/plugins/extension/helper/list.php
index 47edca8c1..9b1988d84 100644
--- a/lib/plugins/extension/helper/list.php
+++ b/lib/plugins/extension/helper/list.php
@@ -387,7 +387,8 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
$return .= '<dd>';
$return .= hsc($extension->getInstalledVersion());
$return .= '</dd>';
- } else {
+ }
+ if (!$extension->isBundled()) {
$return .= '<dt>'.$this->getLang('install_date').'</dt>';
$return .= '<dd>';
$return .= ($extension->getUpdateDate() ? hsc($extension->getUpdateDate()) : $this->getLang('unknown'));
@@ -401,13 +402,6 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
$return .= '</dd>';
}
- if($extension->getInstallDate()) {
- $return .= '<dt>'.$this->getLang('installed').'</dt>';
- $return .= '<dd>';
- $return .= hsc($extension->getInstallDate());
- $return .= '</dd>';
- }
-
$return .= '<dt>'.$this->getLang('provides').'</dt>';
$return .= '<dd><bdi>';
$return .= ($extension->getTypes() ? hsc(implode(', ', $extension->getTypes())) : $default);