mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
Fix issues in changed files
- Initializes $return in Process::insert - Update the type hint of dba::fetch - Remove unused $a parameter in worker_init() - Fix uses
This commit is contained in:
parent
ad88b6e3af
commit
f193f01a7d
4 changed files with 6 additions and 5 deletions
|
@ -23,6 +23,8 @@ class Process extends BaseObject
|
|||
*/
|
||||
public static function insert($command, $pid = null)
|
||||
{
|
||||
$return = true;
|
||||
|
||||
dba::transaction();
|
||||
|
||||
if (!dba::exists('process', ['pid' => getmypid()])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue