[Phpfreechat-svn] SF.net SVN: phpfreechat: [1060] trunk/src/pfctools.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-07-30 12:30:24
|
Revision: 1060 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1060&view=rev Author: kerphi Date: 2007-07-30 05:30:22 -0700 (Mon, 30 Jul 2007) Log Message: ----------- Remove useless instruction Modified Paths: -------------- trunk/src/pfctools.php Modified: trunk/src/pfctools.php =================================================================== --- trunk/src/pfctools.php 2007-07-30 10:36:58 UTC (rev 1059) +++ trunk/src/pfctools.php 2007-07-30 12:30:22 UTC (rev 1060) @@ -409,9 +409,7 @@ function flock_get_contents($filename, $mode = "rb") { $data = ''; - if (!file_exists($filename)) return $data; - - $fp = fopen( $filename, $mode ); + $fp = fopen( $filename, $mode ); if( $fp && flock( $fp, LOCK_SH ) ) { clearstatcache(); @@ -441,4 +439,4 @@ } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |