Esempio n. 1
0
 public function action_patches()
 {
     if ($this->request->method() === Request::POST) {
         return $this->_apply_patch();
     }
     $this->set_title(__('Patches'));
     $this->template->content = View::factory('update/patches', array('patches' => array_flip(Patch::find_all())));
 }