mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Changes for #1046
This commit is contained in:
parent
c7cc250b1e
commit
ad07c5b472
2 changed files with 16 additions and 12 deletions
|
|
@ -11,8 +11,7 @@ abstract class Service
|
|||
{
|
||||
static $bOne = null;
|
||||
if (null === $bOne) {
|
||||
$bOne = false === \stripos(\php_sapi_name(), 'cli')
|
||||
&& static::RunResult();
|
||||
$bOne = static::RunResult();
|
||||
}
|
||||
|
||||
return $bOne;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue