Example #1
0
 function delete_action_notify($action_id)
 {
     if (!$action_id) {
         return false;
     }
     $notifytype_ids = he_wall::get_wall_noptifytype_ids();
     if (!$notifytype_ids) {
         return false;
     }
     $notifytype_str = implode(',', $notifytype_ids);
     $sql = he_database::placeholder("DELETE FROM `se_notifys` " . "WHERE `notify_object_id`=? AND `notify_notifytype_id` IN ({$notifytype_str})", $action_id);
     he_database::query($sql);
 }