ZF-2475: Zend_Controller_Action_Helper_FlashMessenger lacks a method to clear all current messages too


Like clearMessages method, one to clear current messages too.

 * Clear all messages from the current namespace
 * @return bool True if messages were cleared, false if none existed
public function clearCurrentMessages()
    if ($this->hasCurrentMessages()) {
        return true;

    return false;


Scheduling for 1.5

Patch commited in r8248.

Please check that it does what you like.