none function was working

git-svn-id: http://piwigo.org/svn/trunk@15805 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2012-06-17 20:49:31 +00:00
parent 614233989a
commit 60a2bbec44
3 changed files with 21 additions and 9 deletions

View File

@@ -29,14 +29,6 @@ if (! defined('MULTIVIEW_CONTROLLER') )
$conf['template_combine_files'] = false;
if (pwg_get_session_var( 'multiview_no_history', 0 ))
add_event_handler( 'pwg_log_allowed', create_function( '', 'return false;' ) );
if (pwg_get_session_var( 'purge_template', 0 ))
{
global $template;
$template->delete_compiled_templates();
FileCombiner::clear_combined_files();
pwg_unset_session_var( 'purge_template' );
}
}
add_event_handler('loc_end_page_header', 'multiview_loc_end_page_header');