[ci skip] Remove redundant elses from CI_Loader::_ci_load_stock_library()
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 12922ca..df93d59 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1145,10 +1145,8 @@
{
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 @@
$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);
}
}