shouldn't cache_get return null when caching is disabled

Why doesn't cache_get return a null $cache->data if caching is disabled? In architectural terms, it seems a lot easier to write modules that automatically implement caching and delegate whether or not caching should actually occur to the Drupal core. Here is an example from the Tagadelic module:

[D6] theme() call doesn't seem to work

function vocabindex_theme()
{
	$functions=array();
	
	$functions['theme_vocabindex_list']=array(
		'template'=>'vocabindex_list',
		'arguments'=>array(
			'list_items'=>NULL,
		),
	);
	
	$functions['theme_vocabindex_list_item']=array(
		'template'=>'vocabindex_list_item',
		'arguments'=>array(
			'tid'=>NULL,
			'name'=>NULL,
			'description'=>NULL,
			'zebra'=>NULL,
		),
	);
	
	return $functions;
}

Drupal install for $30, $60 for Drupal upgrade/transfer to other server

For $30 I will install and set up the core Drupal site for you. I can also install modules from the Drupal community (http://drupal.org/project/Modules) in addition to core modules.
For $60 I can upgrade/transfer to other server your Drupal installation (from version 5 and upwards).
The only thing i need is FTP and MySQL access.

Template Engine Problems

how i can work with xampp + template engine

Whats your Favorite drupal Module?

Lets see guys, who owns a drupal powered website and what is your favorite drupal module that you think is most effective and really cool?

Login to an already installed drupal site and Try all your drupal tricks here. Free!

Hi all, its Pat Here.

www.my-ephotoz.com was meant to be a photo sharing website but I later realized it wasn’t a very good idea. I hated the name itself. Even the photos niche wasn’t so attractive. I hated the whole concept later.
So I decided to make it an open drupal development ground.

Wow!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x