Added the Asset Discovery web service content handler.
This commit is contained in:
parent
3119574e01
commit
bae51e6ed5
3 changed files with 164 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
|||
- fixed #8776: duplicate does not duplicate keywords
|
||||
- rfe: Thingy: export extra rows, meta data (SDH Consulting Group)
|
||||
- rfe: Thingy: Max entries per user (SDH Consulting Group)
|
||||
- Added the Asset Discovery web service content handler.
|
||||
- fixed: #4174: UserList template show links that should be hidden (Yung Han
|
||||
Khoe)
|
||||
- fixed #8802: isImage not functioning in Folders
|
||||
|
|
|
|||
|
|
@ -34,9 +34,24 @@ addDataFormDataIndexes($session);
|
|||
addThingyColumns( $session );
|
||||
addCommentsAspect( $session );
|
||||
addCommentsAspectToWiki( $session );
|
||||
addAssetDiscoveryService( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addAssetDiscoveryService {
|
||||
my $session = shift;
|
||||
print "\tAdding asset discovery service..." unless $quiet;
|
||||
my @handlers;
|
||||
foreach my $handler (@{$session->config->get("contentHandlers")}) {
|
||||
if ($handler eq "WebGUI::Content::Operation") {
|
||||
push @handlers, 'WebGUI::Content::AssetDiscovery';
|
||||
}
|
||||
push @handlers, $handler;
|
||||
}
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addCommentsAspectToWiki {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue