function panels_uninstall in Panels 5
Same name and namespace in other branches
- 5.2 panels.install \panels_uninstall()
- 6.3 panels.install \panels_uninstall()
- 6.2 panels.install \panels_uninstall()
Uninstall the panels tables
File
- ./
panels.install, line 67
Code
function panels_uninstall() {
switch ($GLOBALS['db_type']) {
case 'pgsql':
case 'mysql':
case 'mysqli':
default:
db_query("DROP TABLE {panels_info}");
db_query("DROP TABLE {panels_area}");
}
}