Ignore:
Timestamp:
11/30/10 17:24:38 (9 years ago)
Author:
Eric
Message:
  • Bug 1585 fixed : Adding plugin's version number in #_config table
  • Performing old code cleanup
  • 1st step to branch 2.16
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/maintain.inc.php

    r6822 r7955  
    180180  } 
    181181 
     182 
     183        $query = ' 
     184SELECT param 
     185  FROM '.CONFIG_TABLE.' 
     186WHERE param = "UserAdvManager_Version" 
     187;'; 
     188  $count = pwg_db_num_rows(pwg_query($query)); 
     189   
     190  if ($count == 0) 
     191  { 
     192    upgrade_2159_2160(); 
     193  } 
     194 
    182195load_conf_from_db('param like \'UserAdvManager\\_%\''); 
    183196} 
Note: See TracChangeset for help on using the changeset viewer.