Changeset 29735 for trunk/upgrade.php


Ignore:
Timestamp:
Sep 22, 2014, 2:55:01 PM (10 years ago)
Author:
plg
Message:

bug fixed: no need to check the table piwigo_plugins, this table always exists at this point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upgrade.php

    r29665 r29735  
    280280
    281281$tables = get_tables();
     282// echo '<pre>'; print_r($tables); echo '</pre>';
     283// echo 'PREFIX_TABLE='.PREFIX_TABLE.'<br>';
    282284$columns_of = get_columns_of($tables);
    283285
     
    410412    }
    411413
    412     // Plugins deactivation
    413     if (in_array(PREFIX_TABLE.'plugins', $tables))
    414     {
    415       deactivate_non_standard_plugins();
    416     }
    417 
     414    // Deactivate non standard extensions
     415    deactivate_non_standard_plugins();
    418416    deactivate_non_standard_themes();
    419417    deactivate_templates();
Note: See TracChangeset for help on using the changeset viewer.