[qo-modules-dev] [3] fix typo in module_id |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qo-modules-dev Archives
]
Revision: 3
Author: ytorres
Date: 2008-11-03 22:03:18 +0100 (Mon, 03 Nov 2008)
Log Message:
-----------
fix typo in module_id
Modified Paths:
--------------
trunk/qo-kregator/install.sql
trunk/qo-kregator/uninstall.sql
Modified: trunk/qo-kregator/install.sql
===================================================================
--- trunk/qo-kregator/install.sql 2008-11-03 20:48:42 UTC (rev 2)
+++ trunk/qo-kregator/install.sql 2008-11-03 21:03:18 UTC (rev 3)
@@ -108,11 +108,11 @@
-- ----------------------------------------------------------------------------
insert into `qo_modules_files` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/', 'qo-kregator.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_stylesheets` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/', 'qo-kregator.css'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
-- ----------------------------------------------------------------------------
-- Add dependencies to qo_modules_dependencies
@@ -120,31 +120,31 @@
insert into `qo_modules_dependencies` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/ux/miframe/', 'miframe.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_dependencies` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/ux/FileUploadField/', 'FileUploadField.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_dependencies` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/ux/MultiselectItemSelector/', 'Multiselect.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_stylesheets` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/ux/MultiselectItemSelector/', 'Multiselect.css'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_dependencies` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/ux/spinner/', 'Spinner.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_dependencies` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/ux/spinner/', 'SpinnerStrategy.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
insert into `qo_modules_dependencies` (`qo_modules_id`, `directory`, `file`)
select m.id, 'qo-kregator/locale/', 'Desk-Kregator-en.js'
-from (select id from qo_modules where module_id like 'QoKregator') m;
+from (select id from qo_modules where module_id like 'qo-kregator') m;
-- ----------------------------------------------------------------------------
-- Add modules to all group
@@ -152,4 +152,4 @@
insert into `qo_groups_has_modules` (`qo_groups_id`, `qo_modules_id`, `active`)
select g.id, m.id, 1
from (select id from qo_groups) g
- , (select id from qo_modules where module_id like 'QoKregator') m;
\ No newline at end of file
+ , (select id from qo_modules where module_id like 'qo-kregator') m;
\ No newline at end of file
Modified: trunk/qo-kregator/uninstall.sql
===================================================================
--- trunk/qo-kregator/uninstall.sql 2008-11-03 20:48:42 UTC (rev 2)
+++ trunk/qo-kregator/uninstall.sql 2008-11-03 21:03:18 UTC (rev 3)
@@ -3,32 +3,32 @@
where `qo_modules_id` in (
select `id`
from `qo_modules`
- where `module_id` = 'QoKregator'
+ where `module_id` = 'qo-kregator'
);
delete from `qo_modules_dependencies`
where `qo_modules_id` in (
select `id`
from `qo_modules`
- where `module_id` = 'QoKregator'
+ where `module_id` = 'qo-kregator'
);
delete from `qo_modules_stylesheets`
where `qo_modules_id` in (
select `id`
from `qo_modules`
- where `module_id` = 'QoKregator'
+ where `module_id` = 'qo-kregator'
);
delete from `qo_modules_files`
where `qo_modules_id` in (
select `id`
from `qo_modules`
- where `module_id` = 'QoKregator'
+ where `module_id` = 'qo-kregator'
);
delete from `qo_modules`
-where `module_id` = 'QoKregator';
+where `module_id` = 'qo-kregator';
commit;