Closed (duplicate)
Project:
Second Life framework
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2008 at 14:05 UTC
Updated:
11 Jun 2009 at 18:13 UTC
hello
i can see in the code that you are using a function called : secondlife_timer()
here is the code :
function secondlife_timer() {
$timer = variable_get('secondlife_timer', '');
if ($timer) {
return TRUE;
}
return FALSE;
}
then later, you are using this function with :
if (secondlife_timer()) { .....
why don't you use directly ? :
if (variable_get('secondlife_timer', 0)) { .....
Comments
Comment #1
kbahey commentedDuplicate of http://drupal.org/node/488936