function unward($secret_id, $user_id) { $l_ = new Ward(); $l = $l_->where("secret_id = {$secret_id} and user_id = {$user_id}"); $l[0]->drop(); return 1; }