waaghals / Unique-Lone-Dog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use both SessionFlash and DirectFlash

waaghals opened this issue · comments

$this->flash-*() is used as both SessionFlash and DirectFlash. However, $this->flash is loaded as new DirectFlash()

  • Init SessionFlash in DI
  • Rename flash to DirectFlash in DI
  • Change all occurrences for $this->flash->*() above redirects
    to $this->sessionFlash->*()
  • Change all others to $this->directFlash-*()