- Remove unused local variable.

This commit is contained in:
朱金勇
2023-05-25 03:00:16 +00:00
parent 9abc2dcd98
commit cb5b5bb2c5
5 changed files with 24 additions and 27 deletions
+2 -2
View File
@@ -353,7 +353,7 @@ class model extends baseModel
if(is_callable(array($this->{$taoClass}, $method))) return call_user_func_array(array($this->{$taoClass}, $method), $arguments);
$this->app->triggerError("the module {$moduleName} has no {$method} method", __FILE__, __LINE__, $exit = true);
$this->app->triggerError("the module {$moduleName} has no {$method} method", __FILE__, __LINE__, true);
}
/**
@@ -390,6 +390,6 @@ class model extends baseModel
$taoClass = $moduleName . 'Tao';
if(method_exists($taoClass, $method)) return call_user_func_array("{$taoClass}::{$method}", $arguments);
$app->triggerError("the module {$moduleName} has no {$method} method", __FILE__, __LINE__, $exit = true);
$app->triggerError("the module {$moduleName} has no {$method} method", __FILE__, __LINE__, true);
}
}