aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-06 16:40:30 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-06 16:40:30 +0200
commit96277372d55a58349e318e694f4dab3a00fb2f13 (patch)
treea6379c1d1a992f31c4fc021ea6cf732a3c97e1cd /Zotlabs/Update
parentb8991750c5d36714100d20595da6a33149bd7d5d (diff)
downloadvolse-hubzilla-96277372d55a58349e318e694f4dab3a00fb2f13.tar.gz
volse-hubzilla-96277372d55a58349e318e694f4dab3a00fb2f13.tar.bz2
volse-hubzilla-96277372d55a58349e318e694f4dab3a00fb2f13.zip
rename grid to network (for consistency) and activity to stream (as seen in osada) because it makes much more sense.
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r--Zotlabs/Update/_1222.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1222.php b/Zotlabs/Update/_1222.php
new file mode 100644
index 000000000..579025457
--- /dev/null
+++ b/Zotlabs/Update/_1222.php
@@ -0,0 +1,28 @@
+<?php
+
+namespace Zotlabs\Update;
+
+use Zotlabs\Lib\Apps;
+
+class _1222 {
+
+ function run() {
+
+ q("START TRANSACTION");
+
+ $r1 = q("DELETE FROM app WHERE app_name = 'Grid' and app_system = 1");
+
+ if($r1) {
+ q("COMMIT");
+
+ Apps::import_system_apps();
+
+ return UPDATE_SUCCESS;
+ }
+
+ q("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}