Skip to content

Commit

Permalink
QA: Correct use of register_process[_start]()
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Aug 19, 2023
1 parent 96a01b3 commit 405760f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api_tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function api_tree_get_lock($lockname, $timeout = 10) {
$count = 0;

while ($count < 5) {
if (register_process('tree_lock', $lockname, 0, $timeout)) {
if (register_process_start('tree_lock', $lockname, 0, $timeout)) {
return true;
} else {
$count++;
Expand Down

0 comments on commit 405760f

Please sign in to comment.