diff options
author | rvelices <rv-github@modusoptimus.com> | 2014-05-17 05:58:07 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2014-05-17 05:58:07 +0000 |
commit | 99ea8d67d458ee5864918f59ff2c3460e048065c (patch) | |
tree | 37acc3774f9e8f5967beb123d0be6097573063cd /admin/batch_manager_unit.php | |
parent | e51d22bb01b4cbdb16873200ab3cd2c0e01d118f (diff) |
- dont't invalidate_user_cache on batch manager refresh photo set or add/remove caddie or generate/delete derivatives
- removed double sql query from batch_manager_global
git-svn-id: http://piwigo.org/svn/trunk@28490 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/batch_manager_unit.php')
-rw-r--r-- | admin/batch_manager_unit.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php index ddf420674..0531c866c 100644 --- a/admin/batch_manager_unit.php +++ b/admin/batch_manager_unit.php @@ -116,6 +116,7 @@ SELECT id, date_creation ); $page['infos'][] = l10n('Photo informations updated'); + invalidate_user_cache(); } // +-----------------------------------------------------------------------+ @@ -134,7 +135,7 @@ ksort($month_list); $template->assign( array( 'U_ELEMENTS_PAGE' => $base_url.get_query_string_diff(array('display','start')), - 'F_ACTION'=>$base_url.get_query_string_diff(array()), + 'F_ACTION'=>$base_url.get_query_string_diff(array()), 'month_list' => $month_list, 'level_options' => get_privacy_level_options(), ) @@ -192,11 +193,11 @@ if (count($page['cat_elements_id']) > 0) $query = ' SELECT * FROM '.IMAGES_TABLE; - + if ($is_category) { $category_info = get_cat_info($_SESSION['bulk_manager_filter']['category']); - + $conf['order_by'] = $conf['order_by_inside_category']; if (!empty($category_info['image_order'])) { |