"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php" between
phplist-3.4.9.tgz and phplist-3.5.0.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

FilterHandler.php  (phplist-3.4.9.tgz):FilterHandler.php  (phplist-3.5.0.tgz)
skipping to change at line 131 skipping to change at line 131
*/ */
public function handleBatch(array $records) public function handleBatch(array $records)
{ {
$filtered = array(); $filtered = array();
foreach ($records as $record) { foreach ($records as $record) {
if ($this->isHandling($record)) { if ($this->isHandling($record)) {
$filtered[] = $record; $filtered[] = $record;
} }
} }
$this->getHandler($filtered[count($filtered) - 1])->handleBatch($filtere if (count($filtered) > 0) {
d); $this->getHandler($filtered[count($filtered) - 1])->handleBatch($fil
tered);
}
} }
/** /**
* Return the nested handler * Return the nested handler
* *
* If the handler was provided as a factory callable, this will trigger the handler's instantiation. * If the handler was provided as a factory callable, this will trigger the handler's instantiation.
* *
* @return HandlerInterface * @return HandlerInterface
*/ */
public function getHandler(array $record = null) public function getHandler(array $record = null)
 End of changes. 1 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)