Removed unused code

This commit is contained in:
Philipp Holzer 2019-02-22 20:24:10 +01:00
parent ee37632695
commit cec6f49023
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 0 additions and 18 deletions

View file

@ -197,7 +197,6 @@ class App
$this->footerScripts[] = trim($url, '/'); $this->footerScripts[] = trim($url, '/');
} }
public $process_id;
public $queue; public $queue;
private $scheme; private $scheme;
private $hostname; private $hostname;
@ -367,8 +366,6 @@ class App
$this->loadDefaultTimezone(); $this->loadDefaultTimezone();
Core\L10n::init(); Core\L10n::init();
$this->process_id = Core\System::processID('log');
} }
/** /**

View file

@ -234,21 +234,6 @@ class System extends BaseObject
} }
} }
/**
* Generates a process identifier for the logging
*
* @param string $prefix A given prefix
*
* @return string a generated process identifier
*/
public static function processID($prefix)
{
// We aren't calling any other function here.
// Doing so could easily create an endless loop
$trailer = $prefix . ':' . getmypid() . ':';
return substr($trailer . uniqid('') . mt_rand(), 0, 26);
}
/** /**
* Returns the current Load of the System * Returns the current Load of the System
* *