Skip to content

Commit

Permalink
Opening braces should be in a new line
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Jun 4, 2015
1 parent f2bbb10 commit fd7907a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/DatabaseInterface.class.php
Expand Up @@ -1657,7 +1657,8 @@ public function getVariable(
*
* @return void
*/
public function setForeignKeyCheck($value) {
public function setForeignKeyCheck($value)
{
$current_fk_check_value = $GLOBALS['dbi']->getVariable('FOREIGN_KEY_CHECKS') == 'ON';
if ($current_fk_check_value == $value) return;

Expand Down

0 comments on commit fd7907a

Please sign in to comment.