}
uasort($this->messages, Array('BananaFeed', 'compare'));
$this->lastupdate = time();
- $this->writeToFile();
+ $this->saveToFile();
}
/** Get the spool corresponding with the current settings of Banana
/** Write a feed to a cache file
*/
- private function writeToFile()
+ private function saveToFile()
{
$file = BananaFeed::filename();
file_put_contents($file, serialize($this));
/** Merge to feeds into a new one
*/
- static public function &merge(&$feed1, &$feed2, $name, $description = null)
+ static public function &merge($feed1, $feed2, $name, $description = null)
{
if (!$feed1) {
$feed = null;
}
}
-// vim:set et sw=4 sts=4 ts=4 enc=utf-8:
+// vim:set et sw=4 sts=4 ts=4 fenc=utf-8:
?>