CC-4413: Unused local variables in models.
-done
This commit is contained in:
parent
8938eaa637
commit
3b43efefe0
9 changed files with 3 additions and 29 deletions
|
@ -6,8 +6,6 @@ class Application_Model_Preference
|
|||
public static function setValue($key, $value, $isUserValue = false)
|
||||
{
|
||||
try {
|
||||
$con = Propel::getConnection();
|
||||
|
||||
//called from a daemon process
|
||||
if (!class_exists("Zend_Auth", false) || !Zend_Auth::getInstance()->hasIdentity()) {
|
||||
$id = NULL;
|
||||
|
@ -425,7 +423,6 @@ class Application_Model_Preference
|
|||
{
|
||||
self::setValue("timezone", $timezone);
|
||||
date_default_timezone_set($timezone);
|
||||
$md = array("timezone" => $timezone);
|
||||
}
|
||||
|
||||
public static function GetTimezone()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue