mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02:00
fix return value of close and several IDE warning
This commit is contained in:
parent
67f66ae668
commit
11e60d3220
@ -377,6 +377,10 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ret = true;
|
||||||
|
}
|
||||||
$ret = fclose($this->opened_stream) && $ret;
|
$ret = fclose($this->opened_stream) && $ret;
|
||||||
|
|
||||||
unset(self::$stat_cache[$this->opened_path]);
|
unset(self::$stat_cache[$this->opened_path]);
|
||||||
@ -895,7 +899,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
* Chgrp command, not yet a stream-wrapper function, but necessary
|
* Chgrp command, not yet a stream-wrapper function, but necessary
|
||||||
*
|
*
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @param int $group
|
* @param int $owner
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
static function chgrp($url,$owner)
|
static function chgrp($url,$owner)
|
||||||
@ -975,8 +979,8 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
/**
|
/**
|
||||||
* This method is called immediately when your stream object is created for examining directory contents with opendir().
|
* This method is called immediately when your stream object is created for examining directory contents with opendir().
|
||||||
*
|
*
|
||||||
* @param string $path URL that was passed to opendir() and that this object is expected to explore.
|
* @param string $url URL that was passed to opendir() and that this object is expected to explore.
|
||||||
* @param $options
|
* @param int $options
|
||||||
* @return booelan
|
* @return booelan
|
||||||
*/
|
*/
|
||||||
function dir_opendir ( $url, $options )
|
function dir_opendir ( $url, $options )
|
||||||
@ -1033,7 +1037,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
* The last 3 digits are exactly the same thing as what you pass to chmod.
|
* The last 3 digits are exactly the same thing as what you pass to chmod.
|
||||||
* 040000 defines a directory, and 0100000 defines a file.
|
* 040000 defines a directory, and 0100000 defines a file.
|
||||||
*
|
*
|
||||||
* @param string $path
|
* @param string $url
|
||||||
* @param int $flags holds additional flags set by the streams API. It can hold one or more of the following values OR'd together:
|
* @param int $flags holds additional flags set by the streams API. It can hold one or more of the following values OR'd together:
|
||||||
* - STREAM_URL_STAT_LINK For resources with the ability to link to other resource (such as an HTTP Location: forward,
|
* - STREAM_URL_STAT_LINK For resources with the ability to link to other resource (such as an HTTP Location: forward,
|
||||||
* or a filesystem symlink). This flag specified that only information about the link itself should be returned,
|
* or a filesystem symlink). This flag specified that only information about the link itself should be returned,
|
||||||
@ -1246,7 +1250,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
*
|
*
|
||||||
* The readlink value is read by url_stat or dir_opendir and therefore cached in the stat-cache.
|
* The readlink value is read by url_stat or dir_opendir and therefore cached in the stat-cache.
|
||||||
*
|
*
|
||||||
* @param string $url
|
* @param string $path
|
||||||
* @return string|boolean content of the symlink or false if $url is no symlink (or not found)
|
* @return string|boolean content of the symlink or false if $url is no symlink (or not found)
|
||||||
*/
|
*/
|
||||||
static function readlink($path)
|
static function readlink($path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user