aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-11-01 21:19:20 +0000
committerpatdenice <patdenice@piwigo.org>2008-11-01 21:19:20 +0000
commit9a7de2b6b1b85a0642d34b24fa1daacbf119c0a9 (patch)
treee97cd0333f7b396382a96f8e7dc0098f2704c873 /upgrade.php
parentae4e04da07998024fae600bf403ed58cfbed6515 (diff)
- bugs correction in upgrade_1.7.0.php.
- only non-standard plugins are deactivated during upgrade. git-svn-id: http://piwigo.org/svn/trunk@2815 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/upgrade.php b/upgrade.php
index 2dd99747b..cb1d7337e 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -237,19 +237,7 @@ else
// Plugins deactivation
if (in_array(PREFIX_TABLE.'plugins', $tables))
{
- $query = '
-UPDATE '.PREFIX_TABLE.'plugins SET state="inactive" WHERE state="active"
-;';
- mysql_query($query);
-
- if (mysql_affected_rows() > 0)
- {
- array_push(
- $page['infos'],
- 'As a precaution, all activated plugins have been deactivated.
-You must check for plugins upgrade before reactiving them.'
- );
- }
+ deactivate_non_standard_plugins();
}
// Create empty local files to avoid log errors