Changeset 2815 for trunk/upgrade.php


Ignore:
Timestamp:
Nov 1, 2008, 10:19:20 PM (16 years ago)
Author:
patdenice
Message:
  • bugs correction in upgrade_1.7.0.php.
  • only non-standard plugins are deactivated during upgrade.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upgrade.php

    r2812 r2815  
    238238    if (in_array(PREFIX_TABLE.'plugins', $tables))
    239239    {
    240       $query = '
    241 UPDATE '.PREFIX_TABLE.'plugins SET state="inactive" WHERE state="active"
    242 ;';
    243       mysql_query($query);
    244 
    245       if (mysql_affected_rows() > 0)
    246       {
    247         array_push(
    248           $page['infos'],
    249           'As a precaution, all activated plugins have been deactivated.
    250 You must check for plugins upgrade before reactiving them.'
    251         );
    252       }
     240      deactivate_non_standard_plugins();
    253241    }
    254242
Note: See TracChangeset for help on using the changeset viewer.