Project

General

Profile

Bug #19112 » 8980.patch

Administrator Admin, 2009-06-09 19:57

View differences:

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)) {
(2-2/5)