mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:50:11 +00:00
Set the new pid
This commit is contained in:
parent
2f8e873cc7
commit
6ef0f9646f
2 changed files with 12 additions and 0 deletions
|
@ -77,6 +77,17 @@ class Process
|
|||
$this->pid = $pid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the process id
|
||||
*
|
||||
* @param integer $pid
|
||||
* @return void
|
||||
*/
|
||||
public function setPid(int $pid)
|
||||
{
|
||||
$this->pid = $pid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log active processes into the "process" table
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue