function delcode() { DB::escapeGet(); Codes::delCode(); $this->redirect('/codes/' . $_GET['parent'] . '/'); }