fix typo
This commit is contained in:
parent
f14b0fa6e0
commit
5c31b843fc
1 changed files with 4 additions and 4 deletions
|
@ -243,9 +243,9 @@ class Preview {
|
|||
$fileinfo = $this->fileview->getFileInfo($file);
|
||||
$fileid = $fileinfo['fileid'];
|
||||
|
||||
$previepath = $this->getThumbnailsFolder() . '/' . $fileid . '/' . $this->getMaxX() . '-' . $this->getMaxY() . '.png';
|
||||
$this->userview->unlink($previepath);
|
||||
return $this->userview->file_exists($previepath);
|
||||
$previewpath = $this->getThumbnailsFolder() . '/' . $fileid . '/' . $this->getMaxX() . '-' . $this->getMaxY() . '.png';
|
||||
$this->userview->unlink($previewpath);
|
||||
return $this->userview->file_exists($previewpath);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -261,7 +261,7 @@ class Preview {
|
|||
$previewpath = $this->getThumbnailsFolder() . '/' . $fileid . '/';
|
||||
$this->userview->deleteAll($previewpath);
|
||||
$this->userview->rmdir($previewpath);
|
||||
return $this->userview->is_dir($previepath);
|
||||
return $this->userview->is_dir($previewpath);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue