aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-18 19:54:02 -0800
committerfriendica <info@friendica.com>2013-11-18 19:54:02 -0800
commitbbd69c1e815c8c8be8265b4dc0554ae60e1ca7f6 (patch)
tree4aed3f17d565edaa31eb36d71af3cb4734c020cc /install/update.php
parent5cf5cbd193258936515a487f9259e960a76e4106 (diff)
downloadvolse-hubzilla-bbd69c1e815c8c8be8265b4dc0554ae60e1ca7f6.tar.gz
volse-hubzilla-bbd69c1e815c8c8be8265b4dc0554ae60e1ca7f6.tar.bz2
volse-hubzilla-bbd69c1e815c8c8be8265b4dc0554ae60e1ca7f6.zip
drop the queue table which we no longer use
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 e1fd8c7a4..f608075fc 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1081 );
+define( 'UPDATE_VERSION' , 1082 );
/**
*
@@ -896,3 +896,10 @@ ADD INDEX ( `expires` ) ");
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1081() {
+ $r = q("DROP TABLE `queue` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}