How do you delete one of your own VC Docs?
Displaying 1-7 of 7 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Omni

Could be useful, I'm not sure how, though.

Posted on 2005-04-25 13:52:47

Overkill

According to the Verge-RPG source:

$query = 'UPDATE `doc_page` SET `visible_state` = 'deleted' WHERE `id` = '.$this->getID();

Eh, to delete your docs, I assume you just ask Grue to delete it for you.

Posted on 2005-04-26 20:54:24

ThinIce

Deletion of data is evil. And is therefore not allowed by the gnomes. You can hide your docs from public so people won't see, but other than that -true- deletions would have to be done via dbadminsuperman.<-grue

Posted on 2005-04-27 18:30:03

Overkill

I guess the true permadelete SQL would be:

$query = 'DELETE FROM `doc_page` WHERE `id` = '.$this->getID();

Yes, deletion of data is bad, unless the database code is set up in a way that it utilizes LAST_INSERT_ID and an AUTO_INCREMENTing id. Of course, full deletion usually isn't allowed just because that could be abused, given the ability to the wrong people. Especially if a normal member somehow managed to attain privileges to delete documentation they didn't author, because then the documentation is gone for good, which means tragic consequences for the true author.

Posted on 2005-04-27 20:09:27 (last edited on 2005-04-27 20:09:46)

mcgrue

OK, DELETE is forbidden.

Yes, at the moment the only way to delete a doc, or to make it public, is to ask me to.

Posted on 2005-04-27 22:57:57

ThinIce

'delete is bad, mmmmkay?'

Posted on 2005-05-03 00:34:16

Omni

WHOA! I so can't remember posting this thread.

...I mean, I guess it's good somebody asked, but I so don't remember doing it...

Posted on 2005-06-29 18:47:15


Displaying 1-7 of 7 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.