Changeset 29735


Ignore:
Timestamp:
09/22/14 14:55:01 (5 years ago)
Author:
plg
Message:

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

Location:
trunk
Files:
3 edited

Legend:

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

    r28695 r29735  
    7878    'AdminTools', 
    7979    'TakeATour', 
    80     'event_tracer', 
    8180    'language_switch', 
    8281    'LocalFilesEditor' 
  • trunk/admin/include/updates.class.php

    r28695 r29735  
    4545      $this->types = array($page); 
    4646    } 
    47     $this->default_themes = array('clear', 'dark', 'Sylvia', 'elegant'); 
     47    $this->default_themes = array('clear', 'dark', 'Sylvia', 'elegant', 'smartpocket'); 
    4848    $this->default_plugins = array('AdminTools', 'TakeATour', 'language_switch', 'LocalFilesEditor'); 
    4949 
  • 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.