Changeset 3712 for branches


Ignore:
Timestamp:
Jul 31, 2009, 4:59:31 PM (15 years ago)
Author:
patdenice
Message:

merge r3711 from trunk to branch 2.0
Disable database optimization for menubar order until it has been fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/menubar.php

    r3046 r3712  
    100100
    101101  // BEGIN OPTIM - DONT ASK ABOUT THIS ALGO - but optimizes the size of the array we save in DB
     102  /* !!! OPTIM DISABLED UNTIL IT HAS BEEN FIXED !!!
    102103  $reg_keys = array_keys($reg_blocks);
    103104  $cnf_keys = array_keys($mb_conf);
     
    122123    }
    123124  }
     125  */
    124126  $mb_conf_db = $mb_conf;
     127  /*
    125128  if ($best_slice['len'])
    126129  {
     
    138141  //var_export( $best_slice ); var_export($mb_conf);  var_export($mb_conf_db);
    139142  // END OPTIM
    140 
     143  */
    141144  $query = '
    142145UPDATE '.CONFIG_TABLE.'
Note: See TracChangeset for help on using the changeset viewer.