/[drupal]/contributions/modules/blogtheme/blog_theme.install
ViewVC logotype

Contents of /contributions/modules/blogtheme/blog_theme.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Thu Apr 16 06:18:36 2009 UTC (7 months, 1 week ago) by augustin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
#431954 Cannot redeclare outline_uninstall().
1 <?php
2 // $Id: blog_theme.install,v 1.3 2008/09/30 08:59:48 augustin Exp $
3
4 function blog_theme_update_5001() {
5 $ret = array();
6
7 // activate the new menu item:
8 cache_clear_all();
9 drupal_set_message(t('The module blog_theme has been updated and new features added. Check the <a href="!url">settings page</a>.', array('!url' => url('admin/settings/blog_theme'))));
10
11 return $ret;
12 }
13
14 /**
15 * Delete obsolete variable.
16 */
17 function blog_theme_update_6000() {
18 $ret = array();
19 variable_del('blog_theme_supported');
20 return $ret;
21 }
22
23
24 /**
25 * Implementation of hook_uninstall().
26 */
27 function blog_theme_uninstall() {
28 db_query("DELETE FROM {variable} WHERE name LIKE 'blog_theme_%%'");
29 }
30

  ViewVC Help
Powered by ViewVC 1.1.2