Deleting category "Default"

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Dabitz

Deleting category "Default"

Post by Dabitz »

What is the easiest way to delete the "Default" category. I see it on phpMyAdmin, but I am scared to delete it there and screw up my database. What is the best way to do this?

Thanks in advance,

Dave
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I don't recommend deleting the default category, but renaming it from Hesk to your primary category.

If you do want to delete it you should:

1. backup existing database

2. Try this SQL code:

Code: Select all

DELETE FROM `hesk_categories` WHERE `id`=1 LIMIT 1
or simply delete the entry "Default" in hesk_categories table from phpMyAdmin

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply