From 975504f33550030ef4a92310c23b59f7b25a7b84 Mon Sep 17 00:00:00 2001 From: joellimberg Date: Fri, 13 Jul 2012 18:45:24 +0300 Subject: Rename $babe => $single_model, in foreach ($model AS $babe) {...} --- system/core/Loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') diff --git a/system/core/Loader.php b/system/core/Loader.php index d51ee0b34..93b8f9e29 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 $babe) + foreach ($model as $single_model) { - $this->model($babe); + $this->model($single_model); } return; } -- cgit v1.2.3-24-g4f1b From 3cf174bef3dba5e7e30a9524195aac7773e4d444 Mon Sep 17 00:00:00 2001 From: Joel Limberg Date: Fri, 13 Jul 2012 20:49:57 +0300 Subject: Loader::model() - rename foreach ($model AS $single_model) to ($model AS $class). Consistent with ::library() and ::_ci_load_class() --- system/core/Loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') 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; } -- cgit v1.2.3-24-g4f1b