You are here

function _themekey_node_callback in ThemeKey 6.3

Same name and namespace in other branches
  1. 6.4 modules/themekey.node.inc \_themekey_node_callback()
  2. 6 modules/themekey.node.inc \_themekey_node_callback()
  3. 6.2 modules/themekey.node.inc \_themekey_node_callback()
  4. 7.3 modules/themekey.node.inc \_themekey_node_callback()
  5. 7 modules/themekey.node.inc \_themekey_node_callback()
  6. 7.2 modules/themekey.node.inc \_themekey_node_callback()

This function isn't needed anymore and has been removed with ThemeKey 6.x-2.0-beta2. But if it's missing a fatal error occurs if you upgrade from any version before 6.x-2.0-beta2 until you call update.php. That should be avoided. So this function is available again and does nothing other than remind the administrator to call update.php

see http://drupal.org/node/662786

Parameters

unknown_type $item:

unknown_type $parameters:

Return value

unknown_type

File

modules/themekey.node.inc, line 463
Provides some node attributes as ThemeKey properties.

Code

function _themekey_node_callback(&$item, &$parameters) {
  global $user;
  if (1 == $user->uid) {
    drupal_set_message(t('You\'ve uploaded a new version of ThemeKey. Please !link your site!', array(
      '!link' => l(t('update'), '/update.php'),
    )));
  }
}