aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-30 22:41:45 -0700
committerredmatrix <git@macgirvin.com>2016-05-30 22:41:45 -0700
commitca78374f30bd1b3a98b8b82552741a54b131cbf8 (patch)
tree69d658c5e63646ee40013e3be6887378442a977f /install/update.php
parent670e83b30050201e3ac069c9dfa86a92aff2431d (diff)
downloadvolse-hubzilla-ca78374f30bd1b3a98b8b82552741a54b131cbf8.tar.gz
volse-hubzilla-ca78374f30bd1b3a98b8b82552741a54b131cbf8.tar.bz2
volse-hubzilla-ca78374f30bd1b3a98b8b82552741a54b131cbf8.zip
remove unused tables
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 686c199b5..0bd8d59f9 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1170 );
+define( 'UPDATE_VERSION' , 1171 );
/**
*
@@ -2131,4 +2131,19 @@ function update_r1169() {
if($r1 && $r2 && $r3)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
+}
+
+
+function update_r1170() {
+
+ $r1 = q("drop table fcontact");
+ $r2 = q("drop table ffinder");
+ $r3 = q("drop table fserver");
+ $r4 = q("drop table fsuggest");
+ $r5 = q("drop table spam");
+
+ if($r1 && $r2 && $r3 && $r4 && $r5)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
} \ No newline at end of file