|
@@ -464,9 +464,9 @@ |
|
|
block discarded – undo |
|
464
|
464
|
return false; |
|
465
|
465
|
} else { |
|
466
|
466
|
// restore picture file |
|
467
|
|
- $this->setUrl($original_url); // set the url, so that we can |
|
|
467
|
+ $this->setUrl($original_url); // set the url, so that we can |
|
468
|
468
|
$filename = $this->getFilename(); // .. retrieve the file path+name |
|
469
|
|
- $this->setFilenames($filename); // now set url(s) from the new uuid |
|
|
469
|
+ $this->setFilenames($filename); // now set url(s) from the new uuid |
|
470
|
470
|
try { |
|
471
|
471
|
rename($this->deletedFilename($filename), $this->getFilename()); |
|
472
|
472
|
} catch (Exception $e) { |
Please login to merge, or discard this patch.