移除连接
null Module_Storage_Driver_Swift::unset_connection( string $hash )
参数列表
参数 类型 描述 默认值 $hash
string
连接hash
protected static function unset_connection($hash)
{
if (isset(Storage_Driver_Swift::$connections[$hash]))
{
@fclose(Storage_Driver_Swift::$connections[$hash]);
unset(Storage_Driver_Swift::$connections[$hash]);
}
unset(Storage_Driver_Swift::$last_used[$hash]);
unset(Storage_Driver_Swift::$requests_num[$hash]);
}