diff options
author | plegall <plg@piwigo.org> | 2004-12-30 00:55:27 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2004-12-30 00:55:27 +0000 |
commit | 0c1de32d04c06ca4cdbcf3faf5b727b0a35ee9a1 (patch) | |
tree | a702e5822c4929e83539bd1cb5587f0804c7f06a /admin/update.php | |
parent | cc25f4aa35092e29d1fd7fdb72e34d30eb0deeec (diff) |
- admin/update : deletion of useless lines
- admin/thumbnail : use new process for finding pictures without
thumbnails. No more recursivity
- admin/thumbnail : only show list of directory containing pictures without
thumbnails, not the whole directory tree
git-svn-id: http://piwigo.org/svn/trunk@665 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/update.php')
-rw-r--r-- | admin/update.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/admin/update.php b/admin/update.php index fa622498a..00e37e455 100644 --- a/admin/update.php +++ b/admin/update.php @@ -341,10 +341,6 @@ SELECT IF(MAX(id)+1 IS NULL, 1, MAX(id)+1) AS next_element_id $tn_ext = $ext; break; } - else - { - continue; - } } // 2 cases : the element is a picture or not. Indeed, for a picture @@ -387,10 +383,6 @@ SELECT IF(MAX(id)+1 IS NULL, 1, MAX(id)+1) AS next_element_id $representative_ext = $ext; break; } - else - { - continue; - } } $insert{'id'} = $next_element_id++; |