summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Limberg <me@joellimberg.com>2012-07-13 19:49:57 +0200
committerJoel Limberg <me@joellimberg.com>2012-07-13 19:49:57 +0200
commit3cf174bef3dba5e7e30a9524195aac7773e4d444 (patch)
tree250f7f9b41549e70b32993de3d630e5f1f461d71
parent975504f33550030ef4a92310c23b59f7b25a7b84 (diff)
Loader::model() - rename foreach ($model AS $single_model) to ($model AS $class). Consistent with ::library() and ::_ci_load_class()
-rw-r--r--system/core/Loader.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 93b8f9e29..bfcef1cbc 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -237,9 +237,9 @@ class CI_Loader {
{
if (is_array($model))
{
- foreach ($model as $single_model)
+ foreach ($model as $class)
{
- $this->model($single_model);
+ $this->model($class);
}
return;
}