From d9fbe9bbe9a7686fd85e0ad6e3a21bdf07b87c5c Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 25 May 2011 10:03:16 +0000 Subject: Remove useless code and small bug correction. git-svn-id: http://piwigo.org/svn/trunk@11045 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/updates.class.php | 2 +- admin/themes/default/template/thumbnail.tpl | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/admin/include/updates.class.php b/admin/include/updates.class.php index def4a1a2d..61fe455d3 100644 --- a/admin/include/updates.class.php +++ b/admin/include/updates.class.php @@ -447,7 +447,7 @@ class updates if (empty($error)) { - self::obsolete_list($obsolete_list); + self::process_obsolete_list($obsolete_list); self::deltree($conf['local_data_dir'].'/update'); invalidate_user_cache(true); $template->delete_compiled_templates(); diff --git a/admin/themes/default/template/thumbnail.tpl b/admin/themes/default/template/thumbnail.tpl index 8a2dec411..b02e80bfa 100644 --- a/admin/themes/default/template/thumbnail.tpl +++ b/admin/themes/default/template/thumbnail.tpl @@ -84,14 +84,6 @@ jQuery(document).ready(function(){ processThumbs(width,height,crop,follow_orientation); }); - jQuery('input#cancel').click (function () { - queuedManager.clear(); - queuedManager.abort(); - jQuery("input:not(.nodisable)").attr("disabled",false); - jQuery('tr.nothumb td.thumbpic').html(" "); - - }); - toggleCropFields(); jQuery("#thumb_crop").click(function () {toggleCropFields()}); -- cgit v1.2.3