You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
453 B
16 lines
453 B
11 years ago
|
{
|
||
|
# Rename Ajaxplorer props to Pydio
|
||
|
foreach my $share ($DB->get_all_by_prop(type => 'share')){
|
||
|
my $ajaxplorer = $DB->get_prop_and_delete($share->key, 'Ajaxplorer');
|
||
|
next unless defined ($ajaxplorer);
|
||
|
$share->merge_props(
|
||
|
Pydio => $ajaxplorer
|
||
|
);
|
||
|
my $indexer = $DB->get_prop_and_delete($share->key, 'AjaxplorerIndexer');
|
||
|
next unless defined ($indexer);
|
||
|
$share->merge_props(
|
||
|
PydioIndexer => $indexer
|
||
|
);
|
||
|
}
|
||
|
}
|