Skip to content

Commit

Permalink
Avoid using superglobal
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Apr 6, 2016
1 parent d99c4f3 commit 412af77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function _getDbInfo($sub_part)
,
,
$pos
) = Util::getDbInfo($GLOBALS['db'], $sub_part);
) = Util::getDbInfo($this->db, $sub_part);

$this->_tables = $tables;
$this->_num_tables = $num_tables;
Expand Down

0 comments on commit 412af77

Please sign in to comment.