aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-05-25 10:03:16 +0000
committerpatdenice <patdenice@piwigo.org>2011-05-25 10:03:16 +0000
commitd9fbe9bbe9a7686fd85e0ad6e3a21bdf07b87c5c (patch)
tree87e4c1f06b5417d5f252ee27aea1a08d49ce10bf /admin
parenta2b9024d927bc3381933a9e983de802c0aafcb86 (diff)
Remove useless code and small bug correction.
git-svn-id: http://piwigo.org/svn/trunk@11045 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/include/updates.class.php2
-rw-r--r--admin/themes/default/template/thumbnail.tpl8
2 files changed, 1 insertions, 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("&nbsp;");
-
- });
-
toggleCropFields();
jQuery("#thumb_crop").click(function () {toggleCropFields()});