Bug #19112 » 8980.patch
t3lib/class.t3lib_lock.php (Arbeitskopie) | ||
---|---|---|
$success = true;
|
||
switch ($this->method) {
|
||
case 'simple':
|
||
if (unlink($this->resource) == false) {
|
||
$success = false;
|
||
if(file_exists($this->resource)) {
|
||
if (unlink($this->resource) == false) {
|
||
$success = false;
|
||
}
|
||
}
|
||
break;
|
||
case 'flock':
|
||
... | ... | |
$success = false;
|
||
}
|
||
fclose($this->filepointer);
|
||
unlink($this->resource);
|
||
if(file_exists($this->resource)) {
|
||
unlink($this->resource);
|
||
}
|
||
break;
|
||
case 'semaphore':
|
||
if (@sem_release($this->resource)) {
|