Vergleich inc/class_custommoderation.php - 1.8.10 - 1.8.21

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 32Zeile 32
		global $db;

// Get tool info

		global $db;

// Get tool info

		$query = $db->simple_select("modtools", "*", 'tid="'.(int)$tool_id.'"');

		$query = $db->simple_select("modtools", "*", 'tid='.(int)$tool_id);

		$tool = $db->fetch_array($query);
if(!$tool['tid'])
{

		$tool = $db->fetch_array($query);
if(!$tool['tid'])
{

Zeile 57Zeile 57
		global $db;

// Get tool info

		global $db;

// Get tool info

		$query = $db->simple_select("modtools", '*', 'tid="'.(int)$tool_id.'"');

		$query = $db->simple_select("modtools", '*', 'tid='.(int)$tool_id);

		$tool = $db->fetch_array($query);
if(!$tool['tid'])
{

		$tool = $db->fetch_array($query);
if(!$tool['tid'])
{

Zeile 103Zeile 103
	 * @param array|int $tid Thread IDs (in order of dateline ascending). Only the first one will be used
* @return boolean true
*/

	 * @param array|int $tid Thread IDs (in order of dateline ascending). Only the first one will be used
* @return boolean true
*/

	function execute_post_moderation($post_options, $pids, $tid)

	function execute_post_moderation($post_options=array(), $pids=array(), $tid)

	{
global $db, $mybb, $lang;


	{
global $db, $mybb, $lang;


Zeile 268Zeile 268
	 * @param array Thread IDs. Only the first one will be used, but it needs to be an array
* @return boolean true
*/

	 * @param array Thread IDs. Only the first one will be used, but it needs to be an array
* @return boolean true
*/

	function execute_thread_moderation($thread_options, $tids)

	function execute_thread_moderation($thread_options=array(), $tids=array())

	{
global $db, $mybb;


	{
global $db, $mybb;