aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-20 22:53:50 -0800
committerfriendica <info@friendica.com>2012-12-20 22:53:50 -0800
commitabee07f12bc1fab1b6304215662a36aedba6aada (patch)
tree2355cdd3b88bd43f2a95737cc98fbdb76af03c9f /install/update.php
parent1c09e055c6178c67cf67109c36e85006ab59c614 (diff)
downloadvolse-hubzilla-abee07f12bc1fab1b6304215662a36aedba6aada.tar.gz
volse-hubzilla-abee07f12bc1fab1b6304215662a36aedba6aada.tar.bz2
volse-hubzilla-abee07f12bc1fab1b6304215662a36aedba6aada.zip
more DB cleanup
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 48cb15c03..06e3ef9f9 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1005 );
+define( 'UPDATE_VERSION' , 1006 );
/**
*
@@ -98,4 +98,11 @@ PRIMARY KEY ( `site_url` )
if($r && $r2)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
+}
+
+
+function update_r1005() {
+ q("drop table guid");
+ q("drop table `notify-threads`);
+ return UPDATE_SUCCESS;
} \ No newline at end of file