Say you migrate a Drupal DB to somewhere else from your personal development box. And the content of your development 'modules' directory has developed over time... much like the contents of your physical desk always do...

You WANT 'select all' functionality. You do ;-)

Patch attached.
In hindsight, that "empty($rows) ?" isn't strictly necessary because $rows is never empty at that line. But hey, it's neater code.

Oh yeah - and I added a category to your info file, hope you agree...

CommentFileSizeAuthor
stc-selectall.patch1.45 KBroderik

Comments

MGParisi’s picture

This should probably not be implemented as deleting the entire content of this table was simply not advisable when I talked to the Dev's about it. In fact they did not appreciate this module at all. So I would suggest (if a new maintainer shows up) that they investigate the consequences of deleting all of the data in this table before implementing this patch.

MGParisi’s picture

I would HIGHLY advise AGAINST this! This is EXACTLY what you should NOT do!

MGParisi’s picture

Status: Needs review » Closed (won't fix)

http://drupal.org/node/470730

Sorry but Wont Fix. This is not safe.