Changeset 2815 for trunk/upgrade.php
- Timestamp:
- Nov 1, 2008, 10:19:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade.php
r2812 r2815 238 238 if (in_array(PREFIX_TABLE.'plugins', $tables)) 239 239 { 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(); 253 241 } 254 242
Note: See TracChangeset
for help on using the changeset viewer.