mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
Fix unnecessary assignment by reference, which causes E_NOTICE
This commit is contained in:
parent
ed15587c4f
commit
6c113c22ed
35 changed files with 80 additions and 84 deletions
|
|
@ -93,7 +93,7 @@ class PollAdminController extends Poll
|
|||
|
||||
$args->poll_index_srl = $poll_index_srl;
|
||||
|
||||
$oDB = &DB::getInstance();
|
||||
$oDB = DB::getInstance();
|
||||
$oDB->begin();
|
||||
|
||||
$output = executeQueryArray('poll.getPollByDeletePollTitle', $args);
|
||||
|
|
@ -145,7 +145,7 @@ class PollAdminController extends Poll
|
|||
$args = new stdClass;
|
||||
$args->poll_srl = $poll_srl;
|
||||
|
||||
$oDB = &DB::getInstance();
|
||||
$oDB = DB::getInstance();
|
||||
$oDB->begin();
|
||||
|
||||
$output = $oDB->executeQuery('poll.deletePoll', $args);
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ class PollModel extends Poll
|
|||
// The skin for the default configurations, and the colorset configurations
|
||||
$tpl_path = sprintf("%sskins/%s/", $this->module_path, $skin);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
|
|
@ -312,7 +312,7 @@ class PollModel extends Poll
|
|||
// The skin for the default configurations, and the colorset configurations
|
||||
$tpl_path = sprintf("%sskins/%s/", $this->module_path, $skin);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
/** [TO REVIEW]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue