|
From: FlorinCB <ory...@us...> - 2008-10-04 21:17:24
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/modules In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31876/album_mod/modules Modified Files: album_delete.php Log Message: upgrade finaly Index: album_delete.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_delete.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_delete.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_delete.php 4 Oct 2008 21:13:54 -0000 1.4 *************** *** 144,148 **** $template->set_filenames(array( ! 'body' => 'confirm_body.tpl') ); --- 144,148 ---- $template->set_filenames(array( ! "body" => "confirm_body.$tplEx") ); *************** *** 164,171 **** $template->pparse('body'); ! if ( !$is_block ) ! { ! include($mx_root_path . 'includes/page_tail.'.$phpEx); ! } } --- 164,171 ---- $template->pparse('body'); ! if ( !$is_block ) ! { ! include($mx_root_path . 'includes/page_tail.'.$phpEx); ! } } *************** *** 218,221 **** --- 218,229 ---- mx_message_die(GENERAL_ERROR, 'Could not delete DB entry', '', __LINE__, __FILE__, $sql); } + + // -------------------------------- + // Delete Cache entry's + // -------------------------------- + $mx_cache->destroy('album_recent_list'); + $mx_cache->destroy('album_most_list'); + $mx_cache->destroy('album_highest_list'); + $mx_cache->destroy('album_rand_list'); |