mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove logging [skip ci]
This commit is contained in:
parent
4bd1aab86d
commit
4b3f8fc78d
@ -202,7 +202,7 @@ class Preferences
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if ('' === $result->data) {
|
if ('' === $result->data) {
|
||||||
Log::warning(sprintf('Empty encrypted preference found: "%s"', $name));
|
//Log::warning(sprintf('Empty encrypted preference found: "%s"', $name));
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@ -214,7 +214,7 @@ class Preferences
|
|||||||
Log::debug('Set data to NULL');
|
Log::debug('Set data to NULL');
|
||||||
$result->data = null;
|
$result->data = null;
|
||||||
}
|
}
|
||||||
Log::error(sprintf('Could not decrypt preference "%s": %s', $name, $e->getMessage()));
|
//Log::error(sprintf('Could not decrypt preference "%s": %s', $name, $e->getMessage()));
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@ -226,7 +226,7 @@ class Preferences
|
|||||||
{
|
{
|
||||||
$result = $this->getForUser($user, $name, $default);
|
$result = $this->getForUser($user, $name, $default);
|
||||||
if ('' === $result->data) {
|
if ('' === $result->data) {
|
||||||
Log::warning(sprintf('Empty encrypted preference found: "%s"', $name));
|
//Log::warning(sprintf('Empty encrypted preference found: "%s"', $name));
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@ -238,7 +238,7 @@ class Preferences
|
|||||||
Log::debug('Set data to NULL');
|
Log::debug('Set data to NULL');
|
||||||
$result->data = null;
|
$result->data = null;
|
||||||
}
|
}
|
||||||
Log::error(sprintf('Could not decrypt preference "%s": %s', $name, $e->getMessage()));
|
//Log::error(sprintf('Could not decrypt preference "%s": %s', $name, $e->getMessage()));
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user