Changeset 14829


Ignore:
Timestamp:
May 7, 2012, 3:44:28 PM (12 years ago)
Author:
plg
Message:

multisize: remove obsolete function file_path_for_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upload.inc.php

    r14221 r14829  
    540540  return null;
    541541}
    542 
    543 function file_path_for_type($file_path, $type='thumb')
    544 {
    545   // resolve the $file_path depending on the $type
    546   if ('thumb' == $type) {
    547     $file_path = get_thumbnail_location(
    548       array(
    549         'path' => $file_path,
    550         'tn_ext' => 'jpg',
    551         )
    552       );
    553   }
    554 
    555   if ('high' == $type) {
    556     @include_once(PHPWG_ROOT_PATH.'include/functions_picture.inc.php');
    557     $file_path = get_high_location(
    558       array(
    559         'path' => $file_path,
    560         'has_high' => 'true'
    561         )
    562       );
    563   }
    564 
    565   return $file_path;
    566 }
    567 
    568542?>
Note: See TracChangeset for help on using the changeset viewer.