if (sizeof($newpostsids)>0) {
switch ($_display) {
case 1:
- foreach ($this->roots as $i) {
+ foreach ($this->roots as $k=>$i) {
if ($this->overview[$i]->descunread==0) {
$this->killdesc($i);
+ unset($this->roots[$k]);
}
}
break;
return true;
}
- function cmp($a, $b) {
- return $this->overview[$a]->date < $this->overview[$b]->date;
- }
-
function save($file)
{
uasort($this->overview, "spoolcompare");
$this->killdesc($c);
}
}
- $pos = array_search($_id, $this->roots);
- unset($this->roots[$pos]);
unset($this->overview[$_id]);
$msgid = array_search($_id, $this->ids);
if ($msgid) {