Minor - format code

pull/2487/head
jmontoyaa 7 years ago
parent 255be6ed78
commit 76f5cb5c60
  1. 2
      main/inc/local.inc.php
  2. 1
      src/FaqBundle/Entity/CategoryRepository.php

@ -726,7 +726,7 @@ if (!empty($_SESSION['_user']['user_id']) && !($login || $logout)) {
//this last function should trigger a redirect, so we can die here safely
die('Openid login redirection should be in progress');
} elseif (!empty($_GET['openid_identity'])) { //it's usual for PHP to replace '.' (dot) by '_' (underscore) in URL parameters
include(api_get_path(SYS_CODE_PATH).'auth/openid/login.php');
include api_get_path(SYS_CODE_PATH).'auth/openid/login.php';
$res = openid_complete($_GET);
if ($res['status'] == 'success') {
$id1 = Database::escape_string($res['openid.identity']);

@ -65,7 +65,6 @@ class CategoryRepository extends EntityRepository
return $query->getOneOrNullResult();
}
/**
* @return Category|null
*/

Loading…
Cancel
Save