Ignore:
Timestamp:
Apr 21, 2008, 12:20:20 AM (16 years ago)
Author:
rvelices
Message:
  • merged function ordering() with update_global_rank() and also optimized the queries
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/site_update.php

    r2299 r2306  
    447447    }
    448448
    449     if ( isset( $conf['flip_picture_ext'][get_extension($filename)] ) 
     449    if ( isset( $conf['flip_picture_ext'][get_extension($filename)] )
    450450          and !isset($fs[$path]['tn_ext']) )
    451     { // For a picture thumbnail is mandatory and for non picture element, 
     451    { // For a picture thumbnail is mandatory and for non picture element,
    452452      // thumbnail and representative are optionnal
    453453      array_push(
     
    471471        'storage_category_id' => $db_fulldirs[$dirname],
    472472        );
    473        
     473
    474474      if ( $_POST['privacy_level']!=0 )
    475475      {
     
    622622      . ' -->' );
    623623    $start = get_moment();
    624     ordering();
    625624    update_global_rank();
    626625    $template->append('footer_elements', '<!-- ordering categories : '
Note: See TracChangeset for help on using the changeset viewer.