diff options
author | zotlabs <mike@macgirvin.com> | 2020-01-24 19:38:21 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2020-01-24 19:38:21 -0800 |
commit | 19a8dfaa5c55b674df25ae7af5c1ffcf9070e522 (patch) | |
tree | 72461b15f54d222d12a1657c5ec534c25f93a236 /Zotlabs/Update | |
parent | 293d411efb28b8f20a0208e3c52883e9fbb8cea7 (diff) | |
parent | fa45ea1d84f27c6b4ddfdcffeed622cca354f3d9 (diff) | |
download | volse-hubzilla-19a8dfaa5c55b674df25ae7af5c1ffcf9070e522.tar.gz volse-hubzilla-19a8dfaa5c55b674df25ae7af5c1ffcf9070e522.tar.bz2 volse-hubzilla-19a8dfaa5c55b674df25ae7af5c1ffcf9070e522.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r-- | Zotlabs/Update/_1235.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1235.php b/Zotlabs/Update/_1235.php new file mode 100644 index 000000000..e457a35d2 --- /dev/null +++ b/Zotlabs/Update/_1235.php @@ -0,0 +1,25 @@ +<?php + +namespace Zotlabs\Update; + +class _1235 { + + function run() { + + q("START TRANSACTION"); + + $r = q("DELETE FROM app WHERE app_name = '%s' AND app_system = 1", + dbesc('Mail') + ); + + if($r) { + q("COMMIT"); + return UPDATE_SUCCESS; + } + + q("ROLLBACK"); + return UPDATE_FAILED; + + } + +} |