aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-17 09:14:16 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-17 09:14:16 +0100
commitbecd5f1446dd837e006f31d3befb611c20445d8d (patch)
treebe7211a665c3b645e41f915baf23bbc211c9a0ee /install/update.php
parent3f2b7d756c2bcffef675770d28d5b65b380fc8f5 (diff)
parentab363e31322d699ee53f052d5198c3a7680f8cc8 (diff)
downloadvolse-hubzilla-becd5f1446dd837e006f31d3befb611c20445d8d.tar.gz
volse-hubzilla-becd5f1446dd837e006f31d3befb611c20445d8d.tar.bz2
volse-hubzilla-becd5f1446dd837e006f31d3befb611c20445d8d.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/install/update.php b/install/update.php
index 7d59555d3..f7b9b03ed 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1197 );
+define( 'UPDATE_VERSION' , 1198 );
/**
*
@@ -3059,4 +3059,14 @@ function update_r1196() {
}
return UPDATE_FAILED;
-} \ No newline at end of file
+}
+
+function update_r1197() {
+
+ $r = q("select diaspora_meta from item where true limit 1");
+ if($r) {
+ $r = q("ALTER TABLE item DROP diaspora_meta");
+ }
+
+ return UPDATE_SUCCESS;
+}