aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-11-01 21:22:08 +0000
committerpatdenice <patdenice@piwigo.org>2008-11-01 21:22:08 +0000
commit108937e81aa75c65d1b562260293c2e809bc1066 (patch)
tree5832988d5f921bbbb9683d8252998f9ea9ebe1c5 /upgrade.php
parent059a02f5a76dfe7de0d63373f3da7d1ab44c1bc0 (diff)
merge -c2815 from trunk to branch 2.0
- bugs correction in upgrade_1.7.0.php. - only non-standard plugins are deactivated during upgrade. git-svn-id: http://piwigo.org/svn/branches/2.0@2816 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