}
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));