no longer use of images.tn_ext field any longer

git-svn-id: http://piwigo.org/svn/trunk@15598 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-06-07 22:04:19 +00:00
parent 1808c59fd6
commit aa7bc99766
4 changed files with 4 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ if (isset($_POST['submitEmail']) and !empty($_POST['group']))
if (!empty($category['representative_picture_id']))
{
$query = '
SELECT id, file, path, tn_ext
SELECT id, file, path
FROM '.IMAGES_TABLE.'
WHERE id = '.$category['representative_picture_id'].'
;';

View File

@@ -194,8 +194,7 @@ if (isset($_GET['processed']))
SELECT
id,
file,
path,
tn_ext
path
FROM '.IMAGES_TABLE.'
WHERE id = '.$image_id.'
;';

View File

@@ -65,8 +65,7 @@ array_push(
$query = '
SELECT
id,
path,
tn_ext
path
FROM '.IMAGES_TABLE.'
WHERE id = '.$image_id.'
;';

View File

@@ -812,7 +812,7 @@ function get_element_path($element_info)
* have a thumbnail, the default mime image url is returned. The URL can be
* sent to the browser, but not used in the php script.
* @param array element_info assoc array containing element info from db
* at least 'path', 'tn_ext' and 'id' should be present
* at least 'path' and 'id' should be present
*/
function get_thumbnail_url($element_info)
{