Removed unused code

2022.09-rc
Philipp Holzer 2019-02-22 20:24:10 +01:00
rodzic ee37632695
commit cec6f49023
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 517BE60E2CE5C8A5
2 zmienionych plików z 0 dodań i 18 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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
*