<?php
/* share this install */
function share_this_install()
{
$query = 'INSERT INTO ' . PREFIX . 'modules (name, alias, author, description, version, status, access) VALUES (\'Share this\', \'share_this\', \'Redaxmedia\', \'Integrate social network buttons\', \'0.4.0\', 1, 0)';
mysql_query($query);
}
/* share this uninstall */
function share_this_uninstall()
{
$query = 'DELETE FROM ' . PREFIX . 'modules WHERE alias = \'share_this\' LIMIT 1';
mysql_query($query);
}
?>