Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 1f002d7

Browse files
committed
Index action: switch verbose parameter to verboz, as it conflicts with symfony command line.
GUID: make it consistent with or without com extension on windows.
1 parent d2a6029 commit 1f002d7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/core/src/pydio/Core/Utils/Vars/StringHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public static function regexpToLdap($regexp)
302302
public static function createGUID()
303303
{
304304
if (function_exists('com_create_guid')) {
305-
return com_create_guid();
305+
return trim(com_create_guid(), "{}");
306306
} else {
307307
mt_srand((double)microtime() * 10000);//optional for php 4.2.0 and up.
308308
$charid = strtoupper(md5(uniqid(rand(), true)));

core/src/plugins/core.index/CoreIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function applyAction(\Psr\Http\Message\ServerRequestInterface $requestInt
7979
}
8080
$nodes = $userSelection->buildNodes();
8181

82-
if (isSet($httpVars["verbose"]) && $httpVars["verbose"] == "true") {
82+
if (isSet($httpVars["verboz"]) && $httpVars["verboz"] == "true") {
8383
$this->verboseIndexation = true;
8484
}
8585
$taskId = $requestInterface->getAttribute("pydio-task-id");

core/src/plugins/core.index/manifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
]]></clientCallback>
3030
<serverCallback methodName="applyAction" restParams="/file+" developerComment="Trigger re-indexation of a directory, recursively">
3131
<input_param name="file" type="string" description="Folder to index (can be empty for root)"/>
32-
<input_param name="verbose" type="boolean" description="Print out some info about indexation"/>
32+
<input_param name="verboz" type="boolean" description="Print out some info about indexation"/>
3333
</serverCallback>
3434
</processing>
3535
</action>

0 commit comments

Comments
 (0)