diff options
author | plegall <plg@piwigo.org> | 2014-09-20 11:36:34 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-09-20 11:36:34 +0000 |
commit | 4e612f3e59de9292ff9034cc69127003574bc1dc (patch) | |
tree | 50247e8ce83cf05da5d171860ff51a83a6263150 /plugins/TakeATour/main.inc.php | |
parent | 663c8b4bcd74217ac0c6f7f9cced994c1d00b1c5 (diff) |
remove link to tour 2.7.0 on list_check_integrity trigger (it will always be shown), we will have a link at the end of the upgrade instead (much more visible)
git-svn-id: http://piwigo.org/svn/trunk@29664 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/TakeATour/main.inc.php')
-rw-r--r-- | plugins/TakeATour/main.inc.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php index 0dc1c86ad..cb22323bb 100644 --- a/plugins/TakeATour/main.inc.php +++ b/plugins/TakeATour/main.inc.php @@ -108,18 +108,6 @@ function TAT_no_photo_yet_prefilter($content, &$smarty) return(str_replace($search, $replacement, $content));
}
-/** After a Piwigo Update **/
-add_event_handler('list_check_integrity', 'TAT_prompt');
-function TAT_prompt($c13y)
-{
- global $page;
- $version_=str_replace('.','_',PHPWG_VERSION);
- if (file_exists('tours/'.$version_.'/config.inc.php'))
- {
- $page['infos'][] = '<a href="'.get_root_url().'admin.php?submited_tour_path=tours/'.$version_.'&pwg_token='.get_pwg_token().'">'.l10n('Discover what is new in the version %s of Piwigo', PHPWG_VERSION).'</a>';
- }
-}
-
/** Add admin menu link **/
add_event_handler('get_admin_plugin_menu_links', 'TAT_admin_menu' );
function TAT_admin_menu($menu)
|