svn: /pear2/Pyrus/trunk/src/Pyrus/ AtomicFileTransaction.php
| From: | Helgi Þormar Þorbjörnsson | Date: | Sun, 28 Feb 2010 17:22:44 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/src/Pyrus/ AtomicFileTransaction.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9221@lists.php.net to get a copy of this message | ||
dufuz Sun, 28 Feb 2010 17:22:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295589
Log:
Remove a redundant return after a return.
Changed paths:
U pear2/Pyrus/trunk/src/Pyrus/AtomicFileTransaction.php
Modified: pear2/Pyrus/trunk/src/Pyrus/AtomicFileTransaction.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/AtomicFileTransaction.php 2010-02-28 17:18:22 UTC (rev 295588)
+++ pear2/Pyrus/trunk/src/Pyrus/AtomicFileTransaction.php 2010-02-28 17:22:44 UTC (rev 295589)
@@ -365,8 +365,7 @@
}
}
- throw new AtomicFileTransaction\Exception(
- 'Unable to fully remove ' . $path);
+ throw new AtomicFileTransaction\Exception('Unable to fully remove ' .
$path);
}
} else {
if ($onlyEmptyDirs) {
@@ -383,7 +382,6 @@
throw new AtomicFileTransaction\Exception(
'Unable to fully remove ' . $path . ', directory is not
empty');
- return;
}
if (!unlink($file->getPathname())) {