web/modules/rhn/RHN/DB/DataSource/xml/KSTree_queries.xml | 11 -----------
web/modules/rhn/RHN/DB/KSTree.pm | 7 -------
2 files changed, 18 deletions(-)
New commits:
commit 41dcf48d9637ce9be127ce45a94fbe637234c6cf
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Tue Jan 5 11:06:24 2010 +0100
Removal of install_types makes KSTree_queries unused, removing.
diff --git a/web/modules/rhn/RHN/DB/DataSource/xml/KSTree_queries.xml
b/web/modules/rhn/RHN/DB/DataSource/xml/KSTree_queries.xml
deleted file mode 100644
index 27bb4c3..0000000
--- a/web/modules/rhn/RHN/DB/DataSource/xml/KSTree_queries.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<datasource_modes>
-
-<mode name="install_types">
- <query params="">
- SELECT KSIT.id, KSIT.label, KSIT.name
- FROM rhnKSInstallType KSIT
-ORDER BY KSIT.label
- </query>
-</mode>
-
-</datasource_modes>
\ No newline at end of file
commit ffbf142a5775deca96b485e235d519c9c2434f40
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Tue Jan 5 11:05:39 2010 +0100
install_types is not called, removing.
diff --git a/web/modules/rhn/RHN/DB/KSTree.pm b/web/modules/rhn/RHN/DB/KSTree.pm
index 0c75646..380092d 100644
--- a/web/modules/rhn/RHN/DB/KSTree.pm
+++ b/web/modules/rhn/RHN/DB/KSTree.pm
@@ -251,13 +251,6 @@ sub name {
return sprintf('%s (%s)', $channel->name, $self->label);
}
-sub install_types {
- my $class = shift;
-
- my $ds = new RHN::DataSource::Simple(-querybase => 'KSTree_queries', -mode
=> 'install_types');
- return $ds->execute_query();
-}
-
sub compatible_tree {
my $self = shift;
my $kstid = shift;
Show replies by thread