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/18_translations.php | |
parent | 14d20933f7dcbf6d4aab3ee2c6444a19c7afdfd6 (diff) |
remove old update script
Diffstat (limited to 'db/update.d/18_translations.php')
-rw-r--r-- | db/update.d/18_translations.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/update.d/18_translations.php b/db/update.d/18_translations.php deleted file mode 100644 index 995a2450..00000000 --- a/db/update.d/18_translations.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -// one translation pair added last commit was faulty (contained a closing : -// even though it should have been a .), we fix it now -mysql_query("UPDATE `Sprache` -SET `Text` = CONCAT(SUBSTR(`Text`, 1, CHAR_LENGTH(`Text`)-1), '.') -WHERE `TextID` = 'inc_schicht_ical_text' AND `Text` LIKE '%:';"); - -$applied = mysql_affected_rows() > 0; - -// more translations -$res = mysql_query("INSERT IGNORE INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES -('occupied', 'DE', 'belegt'), -('occupied', 'EN', 'occupied'), -('free', 'DE', 'frei'), -('free', 'EN', 'free');"); - -$applied |= mysql_affected_rows() > 0; |