aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-18 20:10:53 -0800
committerfriendica <info@friendica.com>2013-11-18 20:10:53 -0800
commitd37f4da37b62bdeabe8fbf048493bfca3ebd6a2d (patch)
treedd5460e97abfbac604ca27c662d1dd7b97475374 /install/update.php
parentbbd69c1e815c8c8be8265b4dc0554ae60e1ca7f6 (diff)
downloadvolse-hubzilla-d37f4da37b62bdeabe8fbf048493bfca3ebd6a2d.tar.gz
volse-hubzilla-d37f4da37b62bdeabe8fbf048493bfca3ebd6a2d.tar.bz2
volse-hubzilla-d37f4da37b62bdeabe8fbf048493bfca3ebd6a2d.zip
remove the challenge table as well
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index f608075fc..31eac2963 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1082 );
+define( 'UPDATE_VERSION' , 1083 );
/**
*
@@ -903,3 +903,10 @@ function update_r1081() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1082() {
+ $r = q("DROP TABLE `challenge` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}