Author: Alexey Bobkov, Samuel Georges
Beispiel #1
0
 public function onScanMessages()
 {
     if (post('purge_messages', false)) {
         Message::truncate();
     }
     ThemeScanner::scan();
     Flash::success(Lang::get('rainlab.translate::lang.messages.scan_messages_success'));
     return $this->onRefresh();
 }
Beispiel #2
0
 public function onScanMessages()
 {
     ThemeScanner::scan();
     Flash::success(Lang::get('rainlab.translate::lang.messages.scan_messages_success'));
     return $this->onRefresh();
 }