diff options
author | redmatrix <git@macgirvin.com> | 2016-05-30 22:41:45 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-30 22:41:45 -0700 |
commit | ca78374f30bd1b3a98b8b82552741a54b131cbf8 (patch) | |
tree | 69d658c5e63646ee40013e3be6887378442a977f /install/update.php | |
parent | 670e83b30050201e3ac069c9dfa86a92aff2431d (diff) | |
download | volse-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.php | 17 |
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 |