php-cs-fixer for all the code
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace Domframework;
|
||||
|
||||
/*
|
||||
/*
|
||||
* To use it, the $serverKey must be defined. It can be created by example,
|
||||
* by using $serverKey = sha1 (microtime (true));
|
||||
*/
|
||||
|
||||
+2
-2
@@ -41,8 +41,8 @@ class Authzgroups
|
||||
*/
|
||||
public function userrightsget($module, $user)
|
||||
{
|
||||
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
|
||||
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
|
||||
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
|
||||
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
|
||||
if ($this->rightCache !== null) {
|
||||
return $this->rightCache;
|
||||
}
|
||||
|
||||
@@ -68,8 +68,8 @@ class Authzgroupsoo
|
||||
*/
|
||||
public function userrightsget($module, $user)
|
||||
{
|
||||
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
|
||||
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
|
||||
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
|
||||
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
|
||||
if ($this->rightCache !== null) {
|
||||
return $this->rightCache;
|
||||
}
|
||||
|
||||
+1
-1
@@ -623,7 +623,7 @@ class Dblayer
|
||||
));
|
||||
return $errors;
|
||||
}
|
||||
/* if (! isset($data[$foreign][0])) {
|
||||
/* if (! isset($data[$foreign][0])) {
|
||||
$errors[] = array("error", sprintf(
|
||||
dgettext(
|
||||
"domframework",
|
||||
|
||||
+1
-1
@@ -1172,7 +1172,7 @@ class Dblayeroo
|
||||
*/
|
||||
private function fieldTypeComplete($field)
|
||||
{
|
||||
// $this->debugLog ("Entering fieldTypeComplete (",$field,")", 2);
|
||||
// $this->debugLog ("Entering fieldTypeComplete (",$field,")", 2);
|
||||
if (! array_key_exists($field, $this->fields)) {
|
||||
$this->DBException(sprintf(
|
||||
"fieldType : can't find the definition for field '%s'",
|
||||
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
/** DomFramework
|
||||
/**
|
||||
* DomFramework
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
|
||||
Reference in New Issue
Block a user