diff options
author | msquare <msquare@notrademark.de> | 2016-08-22 19:32:54 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-08-22 19:32:54 +0200 |
commit | 3f4be08865296431d070e4386a252dac84d528ec (patch) | |
tree | 08ab8c245137dff544c7c928b4a924e604b41ece /db/update.d/13_User.php | |
parent | 14d20933f7dcbf6d4aab3ee2c6444a19c7afdfd6 (diff) |
remove old update script
Diffstat (limited to 'db/update.d/13_User.php')
-rw-r--r-- | db/update.d/13_User.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/update.d/13_User.php b/db/update.d/13_User.php deleted file mode 100644 index f4da5692..00000000 --- a/db/update.d/13_User.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -_datetime_to_int("User", "lastLogin"); - -if(sql_num_query("DESCRIBE `User` `ical_key`") === 0) { - sql_query("ALTER TABLE `User` ADD `ical_key` VARCHAR( 32 ) NOT NULL"); -# _add_index("User", array("ical_key"), "UNIQUE"); -# XXX: not everybody has an ical_key, why? - - $applied = true; -} - -$res = sql_select("DESCRIBE `User` `DECT`"); -if($res[0]['Type'] == 'varchar(4)') { - sql_query("ALTER TABLE `User` CHANGE `DECT` `DECT` VARCHAR(5) NULL"); - - $applied = true; -} -?> |