function _themekey_node_callback in ThemeKey 6.2
Same name and namespace in other branches
- 6.4 modules/themekey.node.inc \_themekey_node_callback()
- 6 modules/themekey.node.inc \_themekey_node_callback()
- 6.3 modules/themekey.node.inc \_themekey_node_callback()
- 7.3 modules/themekey.node.inc \_themekey_node_callback()
- 7 modules/themekey.node.inc \_themekey_node_callback()
- 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 called update.php. That should be avoided. So this function is available again and does nothing else than reminding 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 416 - 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 uploaded a new version of ThemeKey. Please !link your site!', array(
'!link' => l(t('update'), '/update.php'),
)));
}
}