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.
15 lines
453 B
15 lines
453 B
{
|
|
# 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
|
|
);
|
|
}
|
|
}
|
|
|