aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-06 02:17:20 -0700
committerfriendica <info@friendica.com>2013-05-06 02:17:20 -0700
commitdc028ce8ba37aa80c05ade1f2d36371c41457671 (patch)
tree0f43fa9939185bdfee50ade5a181bf885b80ca30 /install/update.php
parent524f205caa1fc95371acaed95c4af12ec4dd7745 (diff)
downloadvolse-hubzilla-dc028ce8ba37aa80c05ade1f2d36371c41457671.tar.gz
volse-hubzilla-dc028ce8ba37aa80c05ade1f2d36371c41457671.tar.bz2
volse-hubzilla-dc028ce8ba37aa80c05ade1f2d36371c41457671.zip
fixes
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/install/update.php b/install/update.php
index 31857ff2d..7dbc601c8 100644
--- a/install/update.php
+++ b/install/update.php
@@ -515,11 +515,10 @@ function update_r1039() {
}
function update_r1040() {
- $r = q("ALTER TABLE `session` CHANGE `expire` `expire` BIGINT UNSIGNED NOT NULL,
- ALTER TABLE `tokens` CHANGE `expires` `expires` BIGINT UNSIGNED NOT NULL ");
+ $r1 = q("ALTER TABLE `session` CHANGE `expire` `expire` BIGINT UNSIGNED NOT NULL ");
+ $r2 = q("ALTER TABLE `tokens` CHANGE `expires` `expires` BIGINT UNSIGNED NOT NULL ");
- if($r)
+ if($r1 && $r2)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
-
}