1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

Merge branch 'develop' into ticket/11620

This commit is contained in:
Andy Chase
2013-07-22 11:29:36 -07:00
498 changed files with 11810 additions and 5150 deletions

23
tests/mock/search.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
/**
*
* @package testing
* @copyright (c) 2012 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
/**
*/
class phpbb_mock_search
{
public function __construct($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user)
{
}
public function index_remove($post_ids, $poster_ids, $forum_ids)
{
}
}

View File

@@ -0,0 +1,21 @@
<?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;
}
}