do not show updates for bundled plugins

This commit is contained in:
Andreas Gohr 2014-01-05 20:39:25 +01:00
parent 168f022328
commit bcdcd3d147
2 changed files with 2 additions and 1 deletions

View File

@ -145,6 +145,7 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
*/
public function updateAvailable() {
if(!$this->isInstalled()) return false;
if($this->isBundled()) return false;
$lastupdate = $this->getLastUpdate();
if ($lastupdate === false) return false;
$installed = $this->getInstalledVersion();

View File

@ -45,7 +45,7 @@ $lang['repository'] = 'Repository:';
$lang['unknown'] = '<em>unknown</em>';
$lang['installed_version'] = 'Installed version:';
$lang['install_date'] = 'Your last update:';
$lang['available_version'] = 'Version:';
$lang['available_version'] = 'Available version:';
$lang['compatible'] = 'Compatible with:';
$lang['depends'] = 'Depends on:';
$lang['similar'] = 'Similar to:';