app/code/community/Nexcessnet/Turpentine/Model/Session.php
public function getMessages($clear = false) {
        $messages = $this->getData('messages');
        if ( ! is_array($messages)) {
            $messages = array();
        }
        return $messages;
    }
public function getMessages($clear = false) {
        $messages = $this->getData('messages');
        if ( ! is_array($messages)) {
            $messages = array();
        }
        return $messages;
    }
public function getMessages ( $ clear = false ) { $ messages = $ this -> getData ( 'messages' ) ; if ( ! is_array ( $ messages ) ) { $ messages = array ( ) ; } return $ messages ; }
Retrieve the stored messages

@return array
Retrieve the stored messages