summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-06-28 10:50:27 +0200
committerAndrey Andreev <narf@devilix.net>2017-06-28 10:50:27 +0200
commitc58b005c5497419dd7ab79fc29ac7e5344c95039 (patch)
tree5e6e5acc24d79f124d9258dc41282b4f3dd5cd05 /system/core
parentbe0280d02a408a8b4aeb6aee10d9dd936f978ce2 (diff)
[ci skip] Remove redundant elses from CI_Loader::_ci_load_stock_library()
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Loader.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 12922ca64..df93d591f 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1145,10 +1145,8 @@ class CI_Loader {
{
return $this->_ci_init_library($library_name, $prefix, $params, $object_name);
}
- else
- {
- log_message('debug', $path.' exists, but does not declare '.$prefix.$library_name);
- }
+
+ log_message('debug', $path.' exists, but does not declare '.$prefix.$library_name);
}
}
@@ -1166,10 +1164,8 @@ class CI_Loader {
$prefix = config_item('subclass_prefix');
break;
}
- else
- {
- log_message('debug', $path.' exists, but does not declare '.$subclass);
- }
+
+ log_message('debug', $path.' exists, but does not declare '.$subclass);
}
}