mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Removed unused globals (#709)
This commit is contained in:
parent
8add267b2f
commit
7b456fcb54
2 changed files with 0 additions and 4 deletions
|
@ -150,8 +150,6 @@ class Dev
|
|||
*/
|
||||
private static function get_sql_log_html(object $db_obj, string $log_name): string
|
||||
{
|
||||
global $lang;
|
||||
|
||||
$log = '';
|
||||
|
||||
foreach ($db_obj->dbg as $i => $dbg) {
|
||||
|
|
|
@ -950,8 +950,6 @@ class SqlDb
|
|||
*/
|
||||
public function explain($mode, $html_table = '', $row = '')
|
||||
{
|
||||
global $lang;
|
||||
|
||||
$query = str_compact($this->cur_query);
|
||||
// remove comments
|
||||
$query = preg_replace('#(\s*)(/\*)(.*)(\*/)(\s*)#', '', $query);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue