remove the caldav and event app and make calendar the default app

This commit is contained in:
Mario Vavti
2019-05-09 14:39:40 +02:00
parent 9efd484e27
commit f0c292e77b
7 changed files with 33 additions and 31 deletions

26
Zotlabs/Update/_1234.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace Zotlabs\Update;
class _1234 {
function run() {
q("START TRANSACTION");
$r = q("DELETE FROM app WHERE app_name = '%s' OR app_name = '%s'",
dbesc('Events'),
dbesc('CalDAV')
);
if($r) {
q("COMMIT");
return UPDATE_SUCCESS;
}
q("ROLLBACK");
return UPDATE_FAILED;
}
}