diff options
author | Mario <mario@mariovavti.com> | 2021-02-15 18:35:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-15 18:35:40 +0000 |
commit | 0cd4c3410121b9b584dc1b108e555832843b2576 (patch) | |
tree | adcac187c383120a255396d19a010f359c58e614 /vendor/sabre/dav/bin/migrateto20.php | |
parent | 02401ea9fd5d53f590305c0f9834685cda58723d (diff) | |
download | volse-hubzilla-0cd4c3410121b9b584dc1b108e555832843b2576.tar.gz volse-hubzilla-0cd4c3410121b9b584dc1b108e555832843b2576.tar.bz2 volse-hubzilla-0cd4c3410121b9b584dc1b108e555832843b2576.zip |
compser update sabre/dav /vobject
Diffstat (limited to 'vendor/sabre/dav/bin/migrateto20.php')
-rwxr-xr-x[-rw-r--r--] | vendor/sabre/dav/bin/migrateto20.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/sabre/dav/bin/migrateto20.php b/vendor/sabre/dav/bin/migrateto20.php index c7a8d9e35..fb24fe599 100644..100755 --- a/vendor/sabre/dav/bin/migrateto20.php +++ b/vendor/sabre/dav/bin/migrateto20.php @@ -72,7 +72,7 @@ switch ($driver) { break; default: echo 'Error: unsupported driver: '.$driver."\n"; - die(-1); + exit(-1); } foreach (['calendar', 'addressbook'] as $itemType) { @@ -130,7 +130,6 @@ foreach (['calendar', 'addressbook'] as $itemType) { break; case 'sqlite': - $pdo->exec("ALTER TABLE $tableName RENAME TO $tableNameOld"); switch ($itemType) { @@ -370,7 +369,6 @@ CREATE TABLE cards ( break; case 'sqlite': - $pdo->exec(' CREATE TABLE cards ( id integer primary key asc, @@ -395,7 +393,6 @@ CREATE TABLE cards ( break; case 'sqlite': - $pdo->exec(' ALTER TABLE cards ADD etag text; ALTER TABLE cards ADD size integer; |