1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00
php-phpbb/tests/mock/sql_insert_buffer.php
2013-05-03 08:38:00 -05:00

22 lines
370 B
PHP

<?php
/**
*
* @package testing
* @copyright (c) 2013 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
class phpbb_mock_sql_insert_buffer extends phpbb_db_sql_insert_buffer
{
public function flush()
{
return (sizeof($this->buffer)) ? true : false;
}
public function get_buffer()
{
return $this->buffer;
}
}