Changeset 21561 for main/trunk/greenstone2/perllib/ClassifyTreeModel.pm
- Timestamp:
- 2010-01-21T15:03:35+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/ClassifyTreeModel.pm
r17087 r21561 120 120 # Unfortunately I have to check that there is text to retrieve before I 121 121 # create a new node. 122 if(&GDBMUtils::gdbmCachedCollectionGet($self->getCollection(), $clid) =~ /\w+/) 122 123 my $index_text_directory_path = &util::filename_cat($ENV{'GSDLHOME'}, "collect", $self->getCollection(), "index", "text"); 124 my $infodb_file_path = &dbutil::get_infodb_file_path("gdbm", $self->getCollection(), $index_text_directory_path); 125 if (&dbutil::read_infodb_entry("gdbm", $infodb_file_path, $clid) =~ /\w+/) 123 126 { 124 127 # Since the CLID can directly reference the correct entry in the GDBM we
Note:
See TracChangeset
for help on using the changeset viewer.