From 4e612f3e59de9292ff9034cc69127003574bc1dc Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 20 Sep 2014 11:36:34 +0000 Subject: 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 --- plugins/TakeATour/main.inc.php | 12 ------------ 1 file changed, 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'][] = ''.l10n('Discover what is new in the version %s of Piwigo', PHPWG_VERSION).''; - } -} - /** Add admin menu link **/ add_event_handler('get_admin_plugin_menu_links', 'TAT_admin_menu' ); function TAT_admin_menu($menu) -- cgit v1.2.3