diff options
author | Mario <mario@mariovavti.com> | 2020-05-07 07:55:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-07 07:55:05 +0000 |
commit | a04b6d178bd4a5facc827c6ac3b9a51b1a0c88d9 (patch) | |
tree | f8c78129ccab3e1b165f5e655f0866a91321669c /Zotlabs/Update | |
parent | c8b45c3449dd36c533cde2600920186fc941c8c8 (diff) | |
download | volse-hubzilla-a04b6d178bd4a5facc827c6ac3b9a51b1a0c88d9.tar.gz volse-hubzilla-a04b6d178bd4a5facc827c6ac3b9a51b1a0c88d9.tar.bz2 volse-hubzilla-a04b6d178bd4a5facc827c6ac3b9a51b1a0c88d9.zip |
deprecate premium channel app
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r-- | Zotlabs/Update/_1237.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1237.php b/Zotlabs/Update/_1237.php new file mode 100644 index 000000000..6c998ba4f --- /dev/null +++ b/Zotlabs/Update/_1237.php @@ -0,0 +1,25 @@ +<?php + +namespace Zotlabs\Update; + +class _1237 { + + function run() { + + q("START TRANSACTION"); + + $r = q("DELETE FROM app WHERE app_name = '%s'", + dbesc('Premium Channel') + ); + + if($r) { + q("COMMIT"); + return UPDATE_SUCCESS; + } + + q("ROLLBACK"); + return UPDATE_FAILED; + + } + +} |