1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/16345] Small improvements

PHPBB3-16346
This commit is contained in:
rubencm
2020-06-07 02:15:35 +00:00
parent 3cceeb45bf
commit 774c609c4a
284 changed files with 1380 additions and 835 deletions

View File

@@ -27,7 +27,7 @@ class flock
/**
* File pointer for the lock file
* @var string
* @var string|bool
*/
private $lock_fp;
@@ -41,7 +41,7 @@ class flock
public function __construct($path)
{
$this->path = $path;
$this->lock_fp = null;
$this->lock_fp = false;
}
/**
@@ -138,7 +138,7 @@ class flock
{
@flock($this->lock_fp, LOCK_UN);
fclose($this->lock_fp);
$this->lock_fp = null;
$this->lock_fp = false;
}
}
}