Active
Project:
Twitter Pull
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2012 at 19:34 UTC
Updated:
18 Apr 2012 at 19:38 UTC
I would like to change default hardcoded cache to 30 seconds.
define ('TWITTER_PULL_CACHE_LENGTH', 20); //-- cache for 20 minutes
to
define ('TWITTER_PULL_CACHE_LENGTH', 30); //-- cache for 30 seconds
AND
$cache_length = twitter_pull_cache_length() * 60; //-- in the settings we indicate length in minutes, here we need seconds.
to
$cache_length = twitter_pull_cache_length(); //-- in the settings we indicate length in SECONDS
How can it be done in template.php?
Comments
Comment #1
nevets commentedYou can't since those are modules settings.