Changeset 14206 for trunk/admin


Ignore:
Timestamp:
04/17/12 16:09:05 (8 years ago)
Author:
flop25
Message:

feature:2482
during upgrade, deactivate template-extensions : in practice put an empty array for the config param. extents_for_templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upgrade.php

    r13467 r14206  
    172172} 
    173173 
     174// Deactivate all templates 
     175function deactivate_templates() 
     176{ 
     177  $query = ' 
     178  UPDATE '.PREFIX_TABLE.'config 
     179    SET value = \''. array() .'\' 
     180  WHERE param = \'extents_for_templates\';'; 
     181} 
     182 
    174183// Check access rights 
    175184function check_upgrade_access_rights() 
Note: See TracChangeset for help on using the changeset viewer.