I'm installing this MOD... and I just saw something strange in the DIY..
2 times a FIND
- Code: Alles auswählen
#
#-----[ FIND ]----------------------------------------------------------------
#
if ( $post_id_sql != '' )
{
$sql = "DELETE
#
#-----[ FIND ]----------------------------------------------------------------
#
remove_search_post($post_id_sql);
#
#-----[ AFTER, ADD ]----------------------------------------------------------
#
// Cache Posts
$cps_delete_array = explode(",", $post_id_sql);
foreach ($cps_delete_array as $cps_delete_id)
{
foreach (glob($phpbb_root_path.'cache/posts/*post_'.intval($cps_delete_id).'.gz') as $cachefile)
{
@unlink($cachefile);
}
}
// Cache Posts
Is this correct?
Just downloaded it from this site
Zugefügt nach 8 Minute(n):
Found another one ...
- Code: Alles auswählen
#
#-----[ FIND ]----------------------------------------------------------------
#
//
// Go ahead and pull all data for this topic
//
#
#-----[ FIND ]----------------------------------------------------------------
#
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
//
#
#-----[ FIND ]----------------------------------------------------------------
#
$message = $postrow[$i]['post_text'];