Fix typo in DB version strings (there should be no .sql suffix)

pull/88/head
Aleksander Machniak 12 years ago
parent 203251838b
commit 0ffb1a7af3

@ -371,6 +371,6 @@ CREATE TRIGGER [contact_delete_member] ON [dbo].[contacts]
WHERE [contact_id] IN (SELECT [contact_id] FROM deleted)
GO
INSERT INTO [dbo].[system] ([name], [value]) VALUES ('roundcube-version', '2013011700.sql')
INSERT INTO [dbo].[system] ([name], [value]) VALUES ('roundcube-version', '2013011700')
GO

@ -196,4 +196,4 @@ CREATE TABLE `system` (
/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700.sql');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700');

@ -274,4 +274,4 @@ CREATE TABLE "system" (
value text
);
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700.sql');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700');

@ -209,4 +209,4 @@ CREATE TABLE system (
value text NOT NULL
);
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700.sql');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700');

@ -63,7 +63,7 @@ if (in_array('system', (array)$DB->list_tables())) {
$opts['package'] . '-version');
$row = $DB->fetch_array();
$version = $row[0];
$version = preg_replace('/[^0-9]/', '', $row[0]);
}
// DB version not found, but release version is specified

Loading…
Cancel
Save