Location: PHPKode > projects > Redaxscript > redaxscript/modules/fb_group/install.php
<?php

/**
 * fb group install
 */

function fb_group_install()
{
	$query = 'INSERT INTO ' . PREFIX . 'modules (name, alias, author, description, version, status, access) VALUES (\'Facebook group\', \'fb_group\', \'Redaxmedia\', \'Integrate a facebook group\', \'1.2.1\', 1, 0)';
	mysql_query($query);
}

/**
 * fb group uninstall
 */

function fb_group_uninstall()
{
	$query = 'DELETE FROM ' . PREFIX . 'modules WHERE alias = \'fb_group\' LIMIT 1';
	mysql_query($query);
}
?>
Return current item: Redaxscript