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

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

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.

1 Like

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.

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

Yeah, they are the same thing.

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

yea, that’s the problem i’m having

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

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.

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

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

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

  • Open your cPanel
  • Enter your database
  • Click on phpvms_airports
  • Delete the airport(s) you do not want