[Building Sakai] remove mailtool

Steve Swinsburg steve.swinsburg at gmail.com
Tue Sep 7 15:58:08 PDT 2010


Hi Jon,

Normally I don't recommend going to the database for this but you could do the following:

Get all the PAGE_IDs in SAKAI_SITE_TOOL that have REGISTRATION=sakai.mailtool
Delete the corresponding rows from SAKAI_SITE_PAGE with those PAGE_IDs
Delete the corresponding rows from SAKAI_SITE_TOOL with those PAGE_IDs  

If that sounds too risky, you could write a quick Perl script to do it via the web services.

NB:
This assumes only one tool per page for the mailtool. If you have multiple tools on a page that include the mailtool, the others will go too.
Test on dev first :)

cheers,
Steve


On 08/09/2010, at 6:15 AM, Jon Wheat wrote:

> What is the easiest way to remove mailtool from all of my sakai sites since it is no longer available in 2.7 ?
>  
> Unfortunately our creation script ran and added that tool before we upgraded to 2.7, so every site we have has it listed, and you get a nice blank screen when you click on it now.
>  
> Thanks,
>  
> -Jon
>  
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100908/817c9970/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3689 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100908/817c9970/attachment.bin 


More information about the sakai-dev mailing list