mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Now we have less than 100 insert commands, yeah
This commit is contained in:
parent
c6b04aa922
commit
03b86d3766
6 changed files with 14 additions and 40 deletions
|
@ -717,7 +717,7 @@ class App {
|
|||
|
||||
$r = q('SELECT `pid` FROM `process` WHERE `pid` = %d', intval(getmypid()));
|
||||
if (!dbm::is_result($r)) {
|
||||
q("INSERT INTO `process` (`pid`,`command`,`created`) VALUES (%d, '%s', '%s')", intval(getmypid()), dbesc($command), dbesc(datetime_convert()));
|
||||
dba::insert('process', array('pid' => getmypid(), 'command' => $command, 'created' => datetime_convert()));
|
||||
}
|
||||
dba::commit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue