public function deleteUser($ID) { if (Session::get('role') != "admin") { Url::redirect(''); } $model = new \Models\Users(); $model->delete(array('userID' => $ID)); Url::redirect('admin'); }