[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-cvs
Subject: [PEAR-CVS] =?utf-8?q?svn:_/pear2/Pyrus/trunk/src/Pyrus/_AtomicFileTransaction.php?=
From: Helgi_Þormar_Þorbjörnsson <dufuz () php ! net>
Date: 2010-02-28 17:22:44
Message-ID: svn-dufuz-1267377764-295589-959529730 () svn ! php ! net
[Download RAW message or body]
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())) {
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic