mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Remove unnecessary use of anonymous functions
This commit is contained in:
parent
b4bbbb378f
commit
3ac6579968
4 changed files with 11 additions and 17 deletions
|
|
@ -328,8 +328,7 @@ class DB
|
|||
|
||||
unset($oDB);
|
||||
require_once($class_file);
|
||||
$tmp_fn = create_function('', "return new {$class_name}();");
|
||||
$oDB = $tmp_fn();
|
||||
$oDB = new $class_name();
|
||||
|
||||
if(!$oDB)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue