diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-06 14:40:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-06 16:41:19 +0200 |
commit | 7877e2467e61fd48c52c8fc6325db5320eb5e03e (patch) | |
tree | 4877ee2db2b41974a3f442319ed2109c4b9bdf4d /Zotlabs/Update | |
parent | 98ee99071cf5556a323ae7f7bffd341fc03f7a6d (diff) | |
download | volse-hubzilla-7877e2467e61fd48c52c8fc6325db5320eb5e03e.tar.gz volse-hubzilla-7877e2467e61fd48c52c8fc6325db5320eb5e03e.tar.bz2 volse-hubzilla-7877e2467e61fd48c52c8fc6325db5320eb5e03e.zip |
rename grid to network (for consistency) and activity to stream (as seen in osada) because it makes much more sense.
(cherry picked from commit 96277372d55a58349e318e694f4dab3a00fb2f13)
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r-- | Zotlabs/Update/_1222.php | 28 |
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; + + } + +} |