Permalink
Browse files

Index action: switch verbose parameter to verboz, as it conflicts wit…

…h symfony command line.

GUID: make it consistent with or without com extension on windows.
  • Loading branch information...
1 parent d2a6029 commit 1f002d7740847d7ca5806a8c003e583d03292c9e @cdujeu cdujeu committed Oct 4, 2016
@@ -302,7 +302,7 @@ public static function regexpToLdap($regexp)
public static function createGUID()
{
if (function_exists('com_create_guid')) {
- return com_create_guid();
+ return trim(com_create_guid(), "{}");
} else {
mt_srand((double)microtime() * 10000);//optional for php 4.2.0 and up.
$charid = strtoupper(md5(uniqid(rand(), true)));
@@ -79,7 +79,7 @@ public function applyAction(\Psr\Http\Message\ServerRequestInterface $requestInt
}
$nodes = $userSelection->buildNodes();
- if (isSet($httpVars["verbose"]) && $httpVars["verbose"] == "true") {
+ if (isSet($httpVars["verboz"]) && $httpVars["verboz"] == "true") {
$this->verboseIndexation = true;
}
$taskId = $requestInterface->getAttribute("pydio-task-id");
@@ -29,7 +29,7 @@
]]></clientCallback>
<serverCallback methodName="applyAction" restParams="/file+" developerComment="Trigger re-indexation of a directory, recursively">
<input_param name="file" type="string" description="Folder to index (can be empty for root)"/>
- <input_param name="verbose" type="boolean" description="Print out some info about indexation"/>
+ <input_param name="verboz" type="boolean" description="Print out some info about indexation"/>
</serverCallback>
</processing>
</action>

0 comments on commit 1f002d7

Please sign in to comment.