/[drupal]/contributions/modules/blocks404/blocks404.install
ViewVC logotype

Contents of /contributions/modules/blocks404/blocks404.install

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


Revision 1.1 - (show annotations) (download) (as text)
Tue Jan 6 06:39:55 2009 UTC (10 months, 2 weeks ago) by johnalbin
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1, HEAD
Branch point for: DRUPAL-5
File MIME type: text/x-php
We now set site_404 to allow proper rendering of menu blocks and the theme's primary links.
1 <?php
2 // $Id$
3
4 /**
5 * Implements hook_disable().
6 */
7 function blocks404_disable() {
8 if (variable_get('site_404', '') == BLOCKS404_PAGE) {
9 variable_set('site_404', '');
10 }
11 }

  ViewVC Help
Powered by ViewVC 1.1.2