# Deleting Airports, Fleet, and Airlines from Admin Panel \[Solved\]

**URL:** <https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [March 28, 2011, 4:10pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390 "2011-03-28T16:10:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![NAdams](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@NAdams](https://forum.phpvms.net/u/NAdams)\
**Post date:** [March 28, 2011, 4:10pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/1 "2011-03-28T16:10:46Z")

</div>

Hey,

I thought i was blind and couldn’t figure it out, but I searched here and saw someone else was having the same problem and never got their answer

So, my question is…is there a way to delete the Airports, Fleet, and Airlines from the admin panel that were added. We are switching some of our destination airports and fleet around and I would

like to delete some of it so it doesn’t show up in our airports list.

- Nick

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 28, 2011, 4:17pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/2 "2011-03-28T16:17:46Z")

</div>

> Hey,
> 
> I thought i was blind and couldn’t figure it out, but I searched here and saw someone else was having the same problem and never got their answer
> 
> So, my question is…is there a way to delete the Airports, Fleet, and Airlines from the admin panel that were added. We are switching some of our destination airports and fleet around and I would
> 
> like to delete some of it so it doesn’t show up in our airports list.
> 
> - Nick

You know what… Instead of deleteing them. I think Nabeel should put the enable or the disable airport option into phpVMS.

---

<div class="post-metadata">

**Author:** ![NAdams](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@NAdams](https://forum.phpvms.net/u/NAdams)\
**Post date:** [March 28, 2011, 4:47pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/3 "2011-03-28T16:47:59Z")

</div>

You can enable/disable the fleet and the airlines, but not the airports

Even though the fleet and airlines and disabled, they still show up with the Schedule Search module.

---

<div class="post-metadata">

**Author:** ![NAdams](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@NAdams](https://forum.phpvms.net/u/NAdams)\
**Post date:** [March 31, 2011, 4:46pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/4 "2011-03-31T16:46:56Z")

</div>

what if i delete them from the actual database, will this delete them from the admin panel?

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 31, 2011, 4:53pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/5 "2011-03-31T16:53:48Z")

</div>

Yeah, they are the same thing.

When you delete them, it removes it from the DB.

---

<div class="post-metadata">

**Author:** ![NAdams](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@NAdams](https://forum.phpvms.net/u/NAdams)\
**Post date:** [March 31, 2011, 5:25pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/6 "2011-03-31T17:25:53Z")

</div>

yea, that’s the problem i’m having

i can’t seem to find where to delete them from the admin panel

---

<div class="post-metadata">

**Author:** ![Nuclear](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nuclear/32/90_2.png) [@Nuclear](https://forum.phpvms.net/u/Nuclear)\
**Post date:** [March 31, 2011, 6:48pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/7 "2011-03-31T18:48:44Z")

</div>

To delete an airport, you need to delete it directly from the database - there is no option in the Admin section. After you delete it from the database, you’ll probably need to clear the cache from the Admin panel also.

Note: I’m not sure what this might do to any existing PIREPS to or from a deleted airport. I’ve deleted airports before, but there had not been any PIREPS filed for these airports.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 31, 2011, 7:20pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/8 "2011-03-31T19:20:23Z")

</div>

It will break existing PIREPs if you delete an airport that has been filed on

---

<div class="post-metadata">

**Author:** ![NAdams](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@NAdams](https://forum.phpvms.net/u/NAdams)\
**Post date:** [April 1, 2011, 3:57pm UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/9 "2011-04-01T15:57:57Z")

</div>

good to know!

All the airports that I would be deleting haven’t had any Pireps filed on them. Thanks for all’s ya’lls help!

- Nick

---

<div class="post-metadata">

**Author:** ![jacksonscott](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jacksonscott/32/184_2.png) [@jacksonscott](https://forum.phpvms.net/u/jacksonscott)\
**Post date:** [August 10, 2012, 2:28am UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/10 "2012-08-10T02:28:12Z")

</div>

What directory would the airports be in? I can’t find them.

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [August 10, 2012, 5:06am UTC](https://forum.phpvms.net/t/deleting-airports-fleet-and-airlines-from-admin-panel-solved/4390/11 "2012-08-10T05:06:00Z")

</div>

- Open your cPanel
- Enter your database
- Click on phpvms\_airports
- Delete the airport(s) you do not want
