Changeset 17649 for trunk/include


Ignore:
Timestamp:
Aug 27, 2012, 8:32:10 PM (12 years ago)
Author:
rvelices
Message:

remove deprecated function get_thumbnail_url + $conflocal_data_dir

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r15597 r17649  
    8787include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
    8888@include(PHPWG_ROOT_PATH. 'local/config/config.inc.php');
    89 if (!isset($conf['local_data_dir'])) $conf['local_data_dir'] = realpath(PHPWG_ROOT_PATH.$conf['data_location']); // temp 2.4 for backward compatibility
    9089
    9190defined('PWG_LOCAL_DIR') or define('PWG_LOCAL_DIR', 'local/');
    92 
    9391
    9492@include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR .'config/database.inc.php');
  • trunk/include/functions.inc.php

    r17351 r17649  
    809809
    810810
    811 /* Returns the URL of the thumbnail to be displayed. If the element does not
    812  * have a thumbnail, the default mime image url is returned. The URL can be
    813  * sent to the browser, but not used in the php script.
    814  * @param array element_info assoc array containing element info from db
    815  * at least 'path' and 'id' should be present
    816  */
    817 function get_thumbnail_url($element_info)
    818 {
    819   return DerivativeImage::thumb_url($element_info);
    820 }
    821 
    822811/**
    823812 * fill the current user caddie with given elements, if not already in
Note: See TracChangeset for help on using the changeset viewer.